Uses of Annotation Interface
com.google.common.base.ElementTypesAreNonnullByDefault
Packages that use ElementTypesAreNonnullByDefault
-
Uses of ElementTypesAreNonnullByDefault in com.google.common.base
Classes in com.google.common.base with annotations of type ElementTypesAreNonnullByDefaultModifier and TypeClassDescription(package private) final class
Absent<T>
Implementation of anOptional
not containing a reference.(package private) class
Note this class is a copy ofAbstractIterator
(for dependency reasons).final class
Static methods pertaining to ASCII characters (those in the range of values0x00
through0x7F
), and to strings containing such characters.enum
Utility class for converting between various ASCII case formats.class
final class
Contains constant definitions for the six standardCharset
instances, which are guaranteed to be supported by all Java platform implementations.(package private) class
The subset of theMatcher
API which is used by this package, and also shared with there2j
library.(package private) class
The subset of thePattern
API which is used by this package, and also shared with there2j
library.class
Converter<A,
B> A function fromA
toB
with an associated reverse function fromB
toA
; used for converting back and forth between different representations of the same information.final class
This class provides default values for all Java types, as defined by the JLS.final class
Utility methods for working withEnum
instances.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.(package private) class
Holder for extra methods ofObjects
only in web.class
Phantom reference with afinalizeReferent()
method which a background thread invokes after the garbage collector reclaims the referent.interface
Implemented by references that have code to run after garbage collection of their referents.class
A reference queue with an associated background thread that dequeues references and invokesFinalizableReference.finalizeReferent()
on them.class
Soft reference with afinalizeReferent()
method which a background thread invokes after the garbage collector reclaims the referent.class
Weak reference with afinalizeReferent()
method which a background thread invokes after the garbage collector reclaims the referent.interface
Function<F,
T> Legacy version ofjava.util.function.Function
.(package private) final class
Equivalence applied on functional result.final class
Static utility methods pertaining tocom.google.common.base.Function
instances; see that class for information about migrating tojava.util.function
.(package private) @interface
Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.(package private) final class
This class is forcom.google.common.base
use only!(package private) final class
Wrappers aroundBuffer
methods that are covariantly overridden in Java 9+.(package private) final class
A regex pattern implementation which is backed by thePattern
.class
final class
Helper functions that operate on anyObject
, and are not already provided inObjects
.(package private) final class
A utility method to perform unchecked casts to suppress errors produced by nullness analyses.final class
Helper functions that can operate on anyObject
.class
Optional<T>
An immutable object that may contain a non-null reference to another object.(package private) final class
PairwiseEquivalence<E,
T extends E> (package private) interface
Pluggable interface for compiling a regex pattern.(package private) final class
Methods factored out so that they can be emulated differently in GWT.final class
Static convenience methods that help a method or constructor check whether it was invoked correctly (that is, whether its preconditions were met).interface
Predicate<T>
Legacy version ofjava.util.function.Predicate
.final class
Static utility methods pertaining toPredicate
instances.(package private) final class
Present<T>
Implementation of anOptional
containing a reference.(package private) final class
An immutable version of CharMatcher for smallish sets of characters that uses a hash table with linear probing to check for matches.final class
Extracts non-overlapping substrings from an input string, typically by recognizing appearances of a separator sequence.enum
Represents a standard system property.final class
An object that accurately measures elapsed time: the measured duration between two successive readings of "now" in the same process.final class
Static utility methods pertaining toString
orCharSequence
instances.interface
Supplier<T>
Legacy version ofjava.util.function.Supplier
.final class
Useful suppliers.final class
Static utility methods pertaining to instances ofThrowable
.class
A time source; returns a time value representing the number of nanoseconds elapsed since some fixed but arbitrary point in time.final class
Low-level, high-performance utility methods related to the UTF-8 character encoding.final class
Static convenience methods that serve the same purpose as Java language assertions, except that they are always enabled.class
Exception thrown upon the failure of a verification check, including those performed by the convenience methods of theVerify
class.