Uses of Class
com.google.common.base.ParametricNullness
-
Packages that use ParametricNullness Package Description com.google.common.base Basic utility libraries and interfaces. -
-
Uses of ParametricNullness in com.google.common.base
Fields in com.google.common.base with annotations of type ParametricNullness Modifier and Type Field Description (package private) V
Functions.ForMapWithDefault. defaultValue
(package private) T
Suppliers.SupplierOfInstance. instance
private T
Equivalence.Wrapper. reference
private E
Functions.ConstantFunction. value
Methods in com.google.common.base with annotations of type ParametricNullness Modifier and Type Method Description T
Function. apply(F input)
E
Functions.ConstantFunction. apply(java.lang.Object from)
V
Functions.ForMapWithDefault. apply(K key)
C
Functions.FunctionComposition. apply(A a)
V
Functions.FunctionForMapNoDefault. apply(K key)
T
Functions.SupplierFunction. apply(F input)
T
Equivalence.Wrapper. get()
Returns the (possibly null) reference wrapped by this instance.T
Supplier. get()
Retrieves an instance of the appropriate type.T
Suppliers.ExpiringMemoizingSupplier. get()
T
Suppliers.MemoizingSupplier. get()
T
Suppliers.NonSerializableMemoizingSupplier. get()
T
Suppliers.SupplierComposition. get()
T
Suppliers.SupplierOfInstance. get()
T
Suppliers.ThreadSafeSupplier. get()
T
AbstractIterator. next()
(package private) static <T> T
NullnessCasts. uncheckedCastNullableTToT(T t)
Accepts aT
and returns a plainT
, without performing any check that that conversion is safe.Method parameters in com.google.common.base with annotations of type ParametricNullness Modifier and Type Method Description T
Function. apply(F input)
V
Functions.ForMapWithDefault. apply(K key)
C
Functions.FunctionComposition. apply(A a)
V
Functions.FunctionForMapNoDefault. apply(K key)
java.lang.Boolean
Functions.PredicateFunction. apply(T t)
T
Functions.SupplierFunction. apply(F input)
boolean
Predicate. apply(T input)
Returns the result of applying this predicate toinput
(Java 8 users, see notes in the class documentation above).boolean
Predicates.AndPredicate. apply(T t)
boolean
Predicates.CompositionPredicate. apply(A a)
boolean
Predicates.InPredicate. apply(T t)
boolean
Predicates.InstanceOfPredicate. apply(T o)
boolean
Predicates.NotPredicate. apply(T t)
boolean
Predicates.OrPredicate. apply(T t)
static <E> Function<java.lang.Object,E>
Functions. constant(E value)
Returns a function that ignores its input and always returnsvalue
.static <T> Predicate<T>
Predicates. equalTo(T target)
Returns a predicate that evaluates totrue
if the object being testedequals()
the given target or both are null.static <K,V>
Function<K,V>Functions. forMap(java.util.Map<K,? extends V> map, V defaultValue)
Returns a function which performs a map lookup with a default value.static <T> Supplier<T>
Suppliers. ofInstance(T instance)
Returns a supplier that always suppliesinstance
.default boolean
Predicate. test(T input)
<S extends T>
Equivalence.Wrapper<S>Equivalence. wrap(S reference)
Returns a wrapper ofreference
that implementsObject.equals()
such thatwrap(a).equals(wrap(b))
if and only ifequivalent(a, b)
.Constructor parameters in com.google.common.base with annotations of type ParametricNullness Constructor Description ConstantFunction(E value)
ForMapWithDefault(java.util.Map<K,? extends V> map, V defaultValue)
SupplierOfInstance(T instance)
Wrapper(Equivalence<? super T> equivalence, T reference)
-