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.
Supplier<T> A class that can supply objects of a single type.
 

Class Summary
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.
Join Utility for joining pieces of text separated by a delimiter.
Objects Helper functions that can operate on any 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.
Suppliers Useful suppliers.
 

Exception Summary
Join.JoinException Exception thrown in response to an IOException from the supplied Appendable.
Suppliers.CyclicDependencyException Exception thrown when a memoizing supplier tries to get its own value.
 

Annotation Types Summary
Nullable The presence of this annotation on a method parameter indicates that null is an acceptable value for that parameter.
 

Package com.google.common.base Description

Miscellaneous common util classes and annotations.



Copyright © 2007-2009 Google. All Rights Reserved.