Uses of Annotation Interface
com.google.common.base.ParametricNullness
Packages that use ParametricNullness
-
Uses of ParametricNullness in com.google.common.base
Fields in com.google.common.base with annotations of type ParametricNullnessModifier and TypeFieldDescription(package private) final VFunctions.ForMapWithDefault.defaultValue(package private) final TSuppliers.SupplierOfInstance.instanceprivate final TEquivalence.Wrapper.referenceprivate final EFunctions.ConstantFunction.valueMethods in com.google.common.base with annotations of type ParametricNullnessModifier and TypeMethodDescriptionEquivalence.Wrapper.get()Returns the (possibly null) reference wrapped by this instance.Supplier.get()Retrieves an instance of the appropriate type.Suppliers.ExpiringMemoizingSupplier.get()Suppliers.MemoizingSupplier.get()Suppliers.NonSerializableMemoizingSupplier.get()Suppliers.SupplierComposition.get()Suppliers.SupplierOfInstance.get()Suppliers.ThreadSafeSupplier.get()final 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 ParametricNullnessModifier and TypeMethodDescriptionbooleanReturns the result of applying this predicate toinput(Java 8 users, see notes in the class documentation above).booleanbooleanbooleanbooleanbooleanbooleanFunctions.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> 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 booleanfinal <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 ParametricNullnessModifierConstructorDescriptionConstantFunction(E value) (package private)ForMapWithDefault(Map<K, ? extends V> map, V defaultValue) (package private)SupplierOfInstance(T instance) privateWrapper(Equivalence<? super T> equivalence, T reference)