Package com.google.common.base

Miscellaneous common util classes and annotations.

See:
          Description

Interface Summary
FinalizableReference Implemented by references that have code to run after garbage collection of their referents.
Function<F,T> A transformation from one object to another.
Predicate<T> Determines a true or false value for a given input.
Service An object with an operational state, plus asynchronous Service.start() and Service.stop() lifecycle methods to transfer into and out of this state.
Supplier<T> A class that can supply objects of a single type.
 

Class Summary
CharMatcher Determines a true or false value for any Java char value, just as Predicate does for any Object.
CharMatcher.LookupTable A bit array with one bit per char value, used by CharMatcher.precomputed().
Charsets Contains constant definitions for the six standard Charset instances, which are guaranteed to be supported by all Java platform implementations.
Defaults This class provides default values for all Java types, as defined by the JLS.
FinalizablePhantomReference<T> Phantom reference with a finalizeReferent() method which a background thread invokes after the garbage collector reclaims the referent.
FinalizableReferenceQueue A reference queue with an associated background thread that dequeues references and invokes FinalizableReference.finalizeReferent() on them.
FinalizableSoftReference<T> Soft reference with a finalizeReferent() method which a background thread invokes after the garbage collector reclaims the referent.
FinalizableWeakReference<T> Weak reference with a finalizeReferent() method which a background thread invokes after the garbage collector reclaims the referent.
Functions Useful functions.
Joiner An object which joins pieces of text (specified as an array, Iterable, varargs or even a Map) with a separator.
Joiner.MapJoiner An object that joins map entries in the same manner as Joiner joins iterables and arrays.
Objects Helper functions that can operate on any Object.
Objects.ToStringHelper Support class for Objects.toStringHelper(java.lang.Object).
Preconditions Simple static methods to be called at the start of your own methods to verify correct arguments and state.
Predicates Contains static factory methods for creating Predicate instances.
Splitter An object that divides strings (or other instances of CharSequence) into substrings, by recognizing a separator (a.k.a.
Suppliers Useful suppliers.
Throwables Static utility methods pertaining to instances of Throwable.
 

Enum Summary
CaseFormat Utility class for converting between various case formats.
Service.State The lifecycle states of a service.
 

Package com.google.common.base Description

Miscellaneous common util classes and annotations.