Uses of Package
com.google.common.base
Package
Description
Basic utility libraries and interfaces.
Discouraged (in favor of Caffeine) caching utilities.
Collection interfaces and implementations, and other utilities for collections.
Interfaces, utilities, and simple implementations of escapers and encoders.
Hash functions and related structures.
Utility methods and classes for I/O; for example input streams, output streams, readers, writers,
and files.
Utility methods and classes for networking (such as IP addresses and domain names).
Static utilities for the eight primitive types and
void
, and value types for treating
them as unsigned or storing them in immutable arrays.Concurrency utilities.
-
ClassDescriptionUtility class for converting between various ASCII case formats.A function from
A
toB
with an associated reverse function fromB
toA
; used for converting back and forth between different representations of the same information.A strategy for determining whether two instances are considered equivalent, and for computing hash codes in a manner consistent with that equivalence.Wraps an object so thatEquivalence.Wrapper.equals(Object)
andEquivalence.Wrapper.hashCode()
delegate to anEquivalence
.Implemented by references that have code to run after garbage collection of their referents.A reference queue with an associated background thread that dequeues references and invokesFinalizableReference.finalizeReferent()
on them.Legacy version ofjava.util.function.Function
.An object that joins map entries in the same manner asJoiner
joins iterables and arrays.Support class forMoreObjects.toStringHelper(java.lang.Object)
.An immutable object that may contain a non-null reference to another object.Legacy version ofjava.util.function.Predicate
.Extracts non-overlapping substrings from an input string, typically by recognizing appearances of a separator sequence.An object that splits strings into maps asSplitter
splits iterables and lists.Represents a standard system property.An object that accurately measures elapsed time: the measured duration between two successive readings of "now" in the same process.Legacy version ofjava.util.function.Supplier
.A time source; returns a time value representing the number of nanoseconds elapsed since some fixed but arbitrary point in time. -
ClassDescriptionLegacy version of
java.util.function.Function
.Legacy version ofjava.util.function.Supplier
.A time source; returns a time value representing the number of nanoseconds elapsed since some fixed but arbitrary point in time. -
ClassDescriptionA function from
A
toB
with an associated reverse function fromB
toA
; used for converting back and forth between different representations of the same information.A strategy for determining whether two instances are considered equivalent, and for computing hash codes in a manner consistent with that equivalence.Legacy version ofjava.util.function.Function
.An immutable object that may contain a non-null reference to another object.Legacy version ofjava.util.function.Predicate
.Legacy version ofjava.util.function.Supplier
. -
-
-
ClassDescriptionAn immutable object that may contain a non-null reference to another object.Legacy version of
java.util.function.Predicate
. -
ClassDescriptionAn immutable object that may contain a non-null reference to another object.
-
ClassDescriptionA function from
A
toB
with an associated reverse function fromB
toA
; used for converting back and forth between different representations of the same information. -