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) VFunctions.ForMapWithDefault. defaultValue(package private) TSuppliers.SupplierOfInstance. instanceprivate TEquivalence.Wrapper. referenceprivate EFunctions.ConstantFunction. valueMethods in com.google.common.base with annotations of type ParametricNullness Modifier and Type Method Description TFunction. apply(F input)EFunctions.ConstantFunction. apply(java.lang.Object from)VFunctions.ForMapWithDefault. apply(K key)CFunctions.FunctionComposition. apply(A a)VFunctions.FunctionForMapNoDefault. apply(K key)TFunctions.SupplierFunction. apply(F input)TEquivalence.Wrapper. get()Returns the (possibly null) reference wrapped by this instance.TSupplier. get()Retrieves an instance of the appropriate type.TSuppliers.ExpiringMemoizingSupplier. get()TSuppliers.MemoizingSupplier. get()TSuppliers.NonSerializableMemoizingSupplier. get()TSuppliers.SupplierComposition. get()TSuppliers.SupplierOfInstance. get()TSuppliers.ThreadSafeSupplier. get()TAbstractIterator. next()(package private) static <T> TNullnessCasts. uncheckedCastNullableTToT(T t)Accepts aTand 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 TFunction. apply(F input)VFunctions.ForMapWithDefault. apply(K key)CFunctions.FunctionComposition. apply(A a)VFunctions.FunctionForMapNoDefault. apply(K key)java.lang.BooleanFunctions.PredicateFunction. apply(T t)TFunctions.SupplierFunction. apply(F input)booleanPredicate. apply(T input)Returns the result of applying this predicate toinput(Java 8 users, see notes in the class documentation above).booleanPredicates.AndPredicate. apply(T t)booleanPredicates.CompositionPredicate. apply(A a)booleanPredicates.InPredicate. apply(T t)booleanPredicates.InstanceOfPredicate. apply(T o)booleanPredicates.NotPredicate. apply(T t)booleanPredicates.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 totrueif 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 booleanPredicate. test(T input)<S extends T>
Equivalence.Wrapper<S>Equivalence. wrap(S reference)Returns a wrapper ofreferencethat 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)
-