@ParametersAreNonnullByDefault
See: Description
Interface | Description |
---|---|
FinalizableReference |
Implemented by references that have code to run after garbage collection of their referents.
|
FinalizableReferenceQueue.FinalizerLoader |
Loads Finalizer.class.
|
Function<F,T> |
Legacy version of
java.util.function.Function . |
PatternCompiler |
Pluggable interface for compiling a regex pattern.
|
Predicate<T> |
Legacy version of
java.util.function.Predicate . |
Splitter.Strategy | |
Supplier<T> |
Legacy version of
java.util.function.Supplier . |
Suppliers.SupplierFunction<T> |
Class | Description |
---|---|
Absent<T> |
Implementation of an
Optional not containing a reference. |
AbstractIterator<T> |
Note this class is a copy of
AbstractIterator (for dependency
reasons). |
Ascii |
Static methods pertaining to ASCII characters (those in the range of values
0x00 through
0x7F ), and to strings containing such characters. |
CaseFormat.StringConverter | |
CharMatcher | |
CharMatcher.And |
Implementation of
CharMatcher.and(CharMatcher) . |
CharMatcher.Any |
Implementation of
CharMatcher.any() . |
CharMatcher.AnyOf |
Implementation of
CharMatcher.anyOf(CharSequence) for three or more characters. |
CharMatcher.Ascii |
Implementation of
CharMatcher.ascii() . |
CharMatcher.BitSetMatcher |
Fast matcher using a
BitSet table of matching characters. |
CharMatcher.BreakingWhitespace |
Implementation of
CharMatcher.breakingWhitespace() . |
CharMatcher.Digit |
Implementation of
CharMatcher.digit() . |
CharMatcher.FastMatcher |
A matcher for which precomputation will not yield any significant benefit.
|
CharMatcher.ForPredicate |
Implementation of
CharMatcher.forPredicate(Predicate) . |
CharMatcher.InRange |
Implementation of
CharMatcher.inRange(char, char) . |
CharMatcher.Invisible |
Implementation of
CharMatcher.invisible() . |
CharMatcher.Is |
Implementation of
CharMatcher.is(char) . |
CharMatcher.IsEither |
Implementation of
CharMatcher.anyOf(CharSequence) for exactly two characters. |
CharMatcher.IsNot |
Implementation of
CharMatcher.isNot(char) . |
CharMatcher.JavaDigit |
Implementation of
CharMatcher.javaDigit() . |
CharMatcher.JavaIsoControl |
Implementation of
CharMatcher.javaIsoControl() . |
CharMatcher.JavaLetter |
Implementation of
CharMatcher.javaLetter() . |
CharMatcher.JavaLetterOrDigit |
Implementation of
CharMatcher.javaLetterOrDigit() . |
CharMatcher.JavaLowerCase |
Implementation of
CharMatcher.javaLowerCase() . |
CharMatcher.JavaUpperCase |
Implementation of
CharMatcher.javaUpperCase() . |
CharMatcher.NamedFastMatcher |
CharMatcher.FastMatcher which overrides toString() with a custom name. |
CharMatcher.Negated |
Implementation of
CharMatcher.Negated.negate() . |
CharMatcher.NegatedFastMatcher |
Negation of a
CharMatcher.FastMatcher . |
CharMatcher.None |
Implementation of
CharMatcher.none() . |
CharMatcher.Or |
Implementation of
CharMatcher.or(CharMatcher) . |
CharMatcher.RangesMatcher |
Implementation that matches characters that fall within multiple ranges.
|
CharMatcher.SingleWidth |
Implementation of
CharMatcher.singleWidth() . |
CharMatcher.Whitespace |
Implementation of
CharMatcher.whitespace() . |
Charsets |
Contains constant definitions for the six standard
Charset instances, which are
guaranteed to be supported by all Java platform implementations. |
CommonMatcher |
The subset of the
Matcher API which is used by this package, and also
shared with the re2j library. |
CommonPattern |
The subset of the
Pattern API which is used by this package, and also
shared with the re2j library. |
Converter<A,B> |
A function from
A to B with an associated reverse function from B
to A ; used for converting back and forth between different representations of the same
information. |
Converter.ConverterComposition<A,B,C> | |
Converter.FunctionBasedConverter<A,B> | |
Converter.IdentityConverter<T> |
A converter that always converts or reverses an object to itself.
|
Converter.ReverseConverter<A,B> | |
Defaults |
This class provides default values for all Java types, as defined by the JLS.
|
Enums |
Utility methods for working with
Enum instances. |
Enums.StringConverter<T extends java.lang.Enum<T>> | |
Equivalence<T> |
A strategy for determining whether two instances are considered equivalent, and for computing
hash codes in a manner consistent with that equivalence.
|
Equivalence.Equals | |
Equivalence.EquivalentToPredicate<T> | |
Equivalence.Identity | |
Equivalence.Wrapper<T> |
Wraps an object so that
Equivalence.Wrapper.equals(Object) and Equivalence.Wrapper.hashCode() delegate to an Equivalence . |
ExtraObjectsMethodsForWeb |
Holder for extra methods of
Objects only in web. |
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. |
FinalizableReferenceQueue.DecoupledLoader |
Try to load Finalizer in its own class loader.
|
FinalizableReferenceQueue.DirectLoader |
Loads Finalizer directly using the current class loader.
|
FinalizableReferenceQueue.SystemLoader |
Tries to load Finalizer from the system class loader.
|
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. |
FunctionalEquivalence<F,T> |
Equivalence applied on functional result.
|
Functions |
Static utility methods pertaining to
com.google.common.base.Function instances; see that
class for information about migrating to java.util.function . |
Functions.ConstantFunction<E> | |
Functions.ForMapWithDefault<K,V> | |
Functions.FunctionComposition<A,B,C> | |
Functions.FunctionForMapNoDefault<K,V> | |
Functions.PredicateFunction<T> | |
Functions.SupplierFunction<T> | |
JdkPattern |
A regex pattern implementation which is backed by the
Pattern . |
JdkPattern.JdkMatcher | |
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. |
MoreObjects |
Helper functions that operate on any
Object , and are not already provided in Objects . |
MoreObjects.ToStringHelper |
Support class for
MoreObjects.toStringHelper(java.lang.Object) . |
MoreObjects.ToStringHelper.ValueHolder | |
Objects |
Helper functions that can operate on any
Object . |
Optional<T> |
An immutable object that may contain a non-null reference to another object.
|
PairwiseEquivalence<T> | |
Platform |
Methods factored out so that they can be emulated differently in GWT.
|
Platform.JdkPatternCompiler | |
Preconditions |
Static convenience methods that help a method or constructor check whether it was invoked
correctly (that is, whether its preconditions were met).
|
Predicates |
Static utility methods pertaining to
Predicate instances. |
Predicates.AndPredicate<T> | |
Predicates.CompositionPredicate<A,B> | |
Predicates.ContainsPatternFromStringPredicate | |
Predicates.ContainsPatternPredicate | |
Predicates.InPredicate<T> | |
Predicates.InstanceOfPredicate | |
Predicates.IsEqualToPredicate<T> | |
Predicates.NotPredicate<T> | |
Predicates.OrPredicate<T> | |
Predicates.SubtypeOfPredicate | |
Present<T> |
Implementation of an
Optional containing a reference. |
SmallCharMatcher |
An immutable version of CharMatcher for smallish sets of characters that uses a hash table with
linear probing to check for matches.
|
Splitter |
Extracts non-overlapping substrings from an input string, typically by recognizing appearances of
a separator sequence.
|
Splitter.MapSplitter |
An object that splits strings into maps as
Splitter splits iterables and lists. |
Splitter.SplittingIterator | |
Stopwatch |
An object that measures elapsed time in nanoseconds.
|
Strings |
Static utility methods pertaining to
String or CharSequence instances. |
Suppliers |
Useful suppliers.
|
Suppliers.ExpiringMemoizingSupplier<T> | |
Suppliers.MemoizingSupplier<T> | |
Suppliers.NonSerializableMemoizingSupplier<T> | |
Suppliers.SupplierComposition<F,T> | |
Suppliers.SupplierOfInstance<T> | |
Suppliers.ThreadSafeSupplier<T> | |
Throwables |
Static utility methods pertaining to instances of
Throwable . |
Ticker |
A time source; returns a time value representing the number of nanoseconds elapsed since some
fixed but arbitrary point in time.
|
Utf8 |
Low-level, high-performance utility methods related to the UTF-8
character encoding.
|
Verify |
Static convenience methods that serve the same purpose as Java language assertions,
except that they are always enabled.
|
Enum | Description |
---|---|
AbstractIterator.State | |
CaseFormat |
Utility class for converting between various ASCII case formats.
|
Functions.IdentityFunction | |
Functions.ToStringFunction | |
Predicates.ObjectPredicate | |
StandardSystemProperty |
Represents a standard system property.
|
Suppliers.SupplierFunctionImpl |
Exception | Description |
---|---|
VerifyException |
Exception thrown upon the failure of a verification check,
including those performed by the convenience methods of the
Verify class. |
This package is a part of the open-source Guava library.