Uses of Annotation Interface
com.google.common.base.ParametricNullness

Packages that use ParametricNullness
Package
Description
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) final V
    Functions.ForMapWithDefault.defaultValue
     
    (package private) final T
    Suppliers.SupplierOfInstance.instance
     
    private final T
    Equivalence.Wrapper.reference
     
    private final E
    Functions.ConstantFunction.value
     
    Methods in com.google.common.base with annotations of type ParametricNullness
    Modifier and Type
    Method
    Description
    Function.apply(F input)
     
    Functions.ConstantFunction.apply(Object from)
     
    Functions.ForMapWithDefault.apply(K key)
     
    Functions.FunctionComposition.apply(A a)
     
    Functions.FunctionForMapNoDefault.apply(K key)
     
    Functions.SupplierFunction.apply(F input)
     
    Equivalence.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 T
    AbstractIterator.next()
     
    (package private) static <T> T
    NullnessCasts.uncheckedCastNullableTToT(T t)
    Accepts a @Nullable T and returns a plain T, 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
    Function.apply(F input)
     
    Functions.ForMapWithDefault.apply(K key)
     
    Functions.FunctionComposition.apply(A a)
     
    Functions.FunctionForMapNoDefault.apply(K key)
     
    Functions.PredicateFunction.apply(T t)
     
    Functions.SupplierFunction.apply(F input)
     
    boolean
    Predicate.apply(T input)
    Returns the result of applying this predicate to input (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<Object,E>
    Functions.constant(E value)
    Returns a function that ignores its input and always returns value.
    static <T> Predicate<T>
    Predicates.equalTo(T target)
    Returns a predicate that evaluates to true if the object being tested equals() the given target or both are null.
    static <K, V> Function<K,V>
    Functions.forMap(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 supplies instance.
    default boolean
    Predicate.test(T input)
     
    final <S extends T>
    Equivalence.Wrapper<S>
    Equivalence.wrap(S reference)
    Returns a wrapper of reference that implements Object.equals() such that wrap(a).equals(wrap(b)) if and only if equivalent(a, b).
    Constructor parameters in com.google.common.base with annotations of type ParametricNullness
    Modifier
    Constructor
    Description
     
     
    (package private)
    ForMapWithDefault(Map<K,? extends V> map, V defaultValue)
     
    (package private)
     
    private
    Wrapper(Equivalence<? super T> equivalence, T reference)