Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. GitHub Wiki
  3. guava

guava

Apache-2.0Javav33.6.0

A comprehensive set of core Java libraries from Google providing new collection types, immutable collections, and utilities for concurrency, I/O, hashing, and more.

Visit WebsiteGitHubGitHub
51.5k stars11.1k forks0 contributors

What is guava?

Guava is a comprehensive set of core Java libraries developed by Google that extends the Java standard library with additional collection types, immutable collections, and utilities for concurrency, I/O, hashing, primitives, and strings. It solves common programming problems by providing well-designed, production-tested components that reduce boilerplate code and improve application reliability.

Target Audience

Java developers building production applications who need robust utilities beyond the standard library, particularly those working on large-scale systems or requiring enhanced collection types and concurrency tools.

Value Proposition

Developers choose Guava for its battle-tested reliability (used extensively within Google), clean APIs that reduce code complexity, and comprehensive feature set that addresses common Java programming pain points with consistent design principles.

Overview

Google core libraries for Java

Use Cases

Best For

  • Implementing complex data relationships with multimaps and multisets
  • Creating thread-safe immutable collections
  • Adding graph algorithms and data structures to Java applications
  • Simplifying concurrent programming with enhanced utilities
  • Reducing I/O and string manipulation boilerplate code
  • Building Android applications with robust Java utilities

Not Ideal For

  • Projects relying on Java serialization for long-term data persistence
  • Applications with strict security requirements against untrusted or malicious code
  • Development primarily on non-Linux systems with heavy file I/O operations
  • Minimalist libraries or projects aiming to avoid additional dependency overhead

Pros & Cons

Pros

Comprehensive Collection Framework

Extends Java with new types like Multimap and Multiset, plus immutable collections that are thread-safe and performance-predictable, reducing boilerplate for complex data relationships.

Enhanced Concurrency Tools

Provides utilities beyond java.util.concurrent, such as ListenableFuture, which are battle-tested in Google's large-scale systems and simplify asynchronous programming.

Robust Graph Library

Includes dedicated data structures and algorithms for graph processing, a feature not commonly found in other Java utility libraries, making it ideal for applications with network or relationship modeling.

Thorough Testing and Reliability

Widely used internally at Google and externally, with strong emphasis on immutability and clean APIs, ensuring production-ready components that improve code quality.

Cons

Beta API Instability

APIs marked with @Beta can change or be removed at any time, forcing library developers to use tools like the Guava Beta Checker or repackage to avoid breaking changes.

Serialization Unreliability

Serialized forms of objects are not stable across versions, as warned in the README, making Guava unsuitable for applications that persist data using Java serialization.

Platform-Specific Limitations

Some I/O utilities may not work correctly in non-Linux environments, as noted in testing warnings, which can lead to bugs in cross-platform deployments.

Frequently Asked Questions

Quick Stats

Stars51,494
Forks11,145
Contributors0
Open Issues619
Last commit1 day ago
CreatedSince 2014

Tags

#hashing#java libraries#graph-library#java#immutable-collections#google#concurrency#guava#collections

Built With

J
Java

Links & Resources

Website

Included in

GitHub Wiki442
Auto-fetched 1 day ago

Related Projects

HystrixHystrix

Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.

Stars24,458
Forks4,698
Last commit4 months ago
hhvmhhvm

A virtual machine for executing programs written in Hack.

Stars18,613
Forks3,075
Last commit1 day ago
foundationdbfoundationdb

FoundationDB - the open source, distributed, transactional key-value store

Stars16,272
Forks1,486
Last commit1 day ago
ArchiSteamFarmArchiSteamFarm

C# application with primary purpose of farming Steam cards from multiple accounts simultaneously.

Stars13,239
Forks1,103
Last commit1 day ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub