Uses of Interface
dev.mccue.guava.base.Predicate

  • Uses of Predicate in dev.mccue.guava.base

    Classes in dev.mccue.guava.base that implement Predicate
    Modifier and Type
    Class
    Description
    class 
    Determines a true or false value for any Java char value, just as Predicate does for any Object.
    Methods in dev.mccue.guava.base that return Predicate
    Modifier and Type
    Method
    Description
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.alwaysFalse()
    Returns a predicate that always evaluates to false.
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.alwaysTrue()
    Returns a predicate that always evaluates to true.
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.and(Predicate<? super T>... components)
    Returns a predicate that evaluates to true if each of its components evaluates to true.
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.and(Predicate<? super T> first, Predicate<? super T> second)
    Returns a predicate that evaluates to true if both of its components evaluate to true.
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.and(Iterable<? extends Predicate<? super T>> components)
    Returns a predicate that evaluates to true if each of its components evaluates to true.
    static <A extends @Nullable Object, B extends @Nullable Object>
    Predicate<A>
    Predicates.compose(Predicate<B> predicate, Function<A,? extends B> function)
    Returns the composition of a function and a predicate.
    Predicates.contains(Pattern pattern)
    Returns a predicate that evaluates to true if the CharSequence being tested contains any match for the given regular expression pattern.
    Predicates.containsPattern(String pattern)
    Returns a predicate that evaluates to true if the CharSequence being tested contains any match for the given regular expression pattern.
    static <T extends @Nullable Object>
    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.
    final Predicate<@Nullable T>
    Equivalence.equivalentTo(T target)
    Returns a predicate that evaluates to true if and only if the input is equivalent to target according to this equivalence relation.
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.in(Collection<? extends T> target)
    Returns a predicate that evaluates to true if the object reference being tested is a member of the given collection.
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.instanceOf(Class<?> clazz)
    Returns a predicate that evaluates to true if the object being tested is an instance of the given class.
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.isNull()
    Returns a predicate that evaluates to true if the object reference being tested is null.
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.not(Predicate<T> predicate)
    Returns a predicate that evaluates to true if the given predicate evaluates to false.
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.notNull()
    Returns a predicate that evaluates to true if the object reference being tested is not null.
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.or(Predicate<? super T>... components)
    Returns a predicate that evaluates to true if any one of its components evaluates to true.
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.or(Predicate<? super T> first, Predicate<? super T> second)
    Returns a predicate that evaluates to true if either of its components evaluates to true.
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.or(Iterable<? extends Predicate<? super T>> components)
    Returns a predicate that evaluates to true if any one of its components evaluates to true.
    static Predicate<Class<?>>
    Predicates.subtypeOf(Class<?> clazz)
    Returns a predicate that evaluates to true if the class being tested is assignable to (is a subtype of) clazz.
    Methods in dev.mccue.guava.base with parameters of type Predicate
    Modifier and Type
    Method
    Description
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.and(Predicate<? super T>... components)
    Returns a predicate that evaluates to true if each of its components evaluates to true.
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.and(Predicate<? super T> first, Predicate<? super T> second)
    Returns a predicate that evaluates to true if both of its components evaluate to true.
    static <A extends @Nullable Object, B extends @Nullable Object>
    Predicate<A>
    Predicates.compose(Predicate<B> predicate, Function<A,? extends B> function)
    Returns the composition of a function and a predicate.
    CharMatcher.forPredicate(Predicate<? super Character> predicate)
    Returns a matcher with identical behavior to the given Character-based predicate, but which operates on primitive char instances instead.
    static <T extends @Nullable Object>
    Function<T,Boolean>
    Functions.forPredicate(Predicate<T> predicate)
    Creates a function that returns the same boolean output as the given predicate for all inputs.
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.not(Predicate<T> predicate)
    Returns a predicate that evaluates to true if the given predicate evaluates to false.
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.or(Predicate<? super T>... components)
    Returns a predicate that evaluates to true if any one of its components evaluates to true.
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.or(Predicate<? super T> first, Predicate<? super T> second)
    Returns a predicate that evaluates to true if either of its components evaluates to true.
    Method parameters in dev.mccue.guava.base with type arguments of type Predicate
    Modifier and Type
    Method
    Description
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.and(Iterable<? extends Predicate<? super T>> components)
    Returns a predicate that evaluates to true if each of its components evaluates to true.
    static <T extends @Nullable Object>
    Predicate<T>
    Predicates.or(Iterable<? extends Predicate<? super T>> components)
    Returns a predicate that evaluates to true if any one of its components evaluates to true.