This package is a part of the open-source Guava library.
Utf8 and Defaults), as well as a number of classes that have been superseded by additions to the JDK.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | FinalizableReference
Implemented by references that have code to run after garbage collection of their referents. |
| public interface | |
| pack-priv interface | PatternCompiler
Pluggable interface for compiling a regex pattern. |
| public interface | |
| public interface |
| Modifier and Type | Annotation and Description |
|---|---|
| pack-priv @interface | ElementTypesAreNonnullByDefault
Marks all "top-level" types as non-null in a way that is recognized by Kotlin. |
| pack-priv @interface | IgnoreJRERequirement
Disables Animal Sniffer's checking of compatibility with older versions of Java/Android. |
| pack-priv @interface | ParametricNullness
Annotates a "top-level" type-variable usage that takes its nullness from the type argument supplied by the user of the class. |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | |
| pack-priv abstract class | AbstractIterator<T extends @Nullable Object>
Note this class is a copy of |
| public class | Ascii
Static methods pertaining to ASCII characters (those in the range of values |
| public abstract class | CharMatcher
Determines a true or false value for any Java |
| public class | |
| pack-priv abstract class | CommonMatcher
The subset of the |
| pack-priv abstract class | CommonPattern
The subset of the |
| public abstract class | Converter<A, B>
A function from |
| public class | Defaults
This class provides default values for all Java types, as defined by the JLS. |
| public class | |
| public abstract class | Equivalence<T>
A strategy for determining whether two instances are considered equivalent, and for computing hash codes in a manner consistent with that equivalence. |
| pack-priv abstract class | ExtraObjectsMethodsForWeb
Holder for extra methods of |
| public abstract class | FinalizablePhantomReference<T>
Phantom reference with a |
| public class | FinalizableReferenceQueue
A reference queue with an associated background thread that dequeues references and invokes
|
| public abstract class | FinalizableSoftReference<T>
Soft reference with a |
| public abstract class | FinalizableWeakReference<T>
Weak reference with a |
| pack-priv class | |
| public class | Functions
Static utility methods pertaining to |
| pack-priv class | Internal
This class is for |
| pack-priv class | Java8Compatibility
Wrappers around |
| pack-priv class | JdkPattern
A regex pattern implementation which is backed by the |
| public class | |
| public class | MoreObjects
Helper functions that operate on any |
| pack-priv class | NullnessCasts
A utility method to perform unchecked casts to suppress errors produced by nullness analyses. |
| public class | Objects
Helper functions that can operate on any |
| public abstract class | Optional<
the type of instance that can be contained. T>Optional is naturally covariant on
this type, so it is safe to cast an Optional<T> to Optional<S> for any
supertype S of T.An immutable object that may contain a non-null reference to another object. |
| pack-priv class | |
| pack-priv class | Platform
Methods factored out so that they can be emulated differently in GWT. |
| public class | Preconditions
Static convenience methods that help a method or constructor check whether it was invoked correctly (that is, whether its preconditions were met). |
| public class | Predicates
Static utility methods pertaining to |
| pack-priv class | |
| pack-priv class | SmallCharMatcher
An immutable version of CharMatcher for smallish sets of characters that uses a hash table with linear probing to check for matches. |
| public class | Splitter
Extracts non-overlapping substrings from an input string, typically by recognizing appearances of a separator sequence. |
| public class | Stopwatch
An object that accurately measures elapsed time: the measured duration between two successive readings of "now" in the same process. |
| public class | Strings
Static utility methods pertaining to |
| public class | Suppliers
Useful suppliers. |
| public class | Throwables
Static utility methods pertaining to instances of |
| public abstract class | Ticker
A time source; returns a time value representing the number of nanoseconds elapsed since some fixed but arbitrary point in time. |
| public class | |
| public class | Verify
Static convenience methods that serve the same purpose as Java language assertions, except that they are always enabled. |
| public class | VerifyException
Exception thrown upon the failure of a verification check,
including those performed by the convenience methods of the |
| Modifier and Type | Enum and Description |
|---|---|
| public enum | CaseFormat
Utility class for converting between various ASCII case formats. |
| public enum | StandardSystemProperty
Represents a standard system property. |