Java com.google.common.base Predicates fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.base Predicates fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.base Predicates.

The text is from its open source code.

Method

PredicatealwaysFalse()
Returns a predicate that always evaluates to false .
PredicatealwaysTrue()
Returns a predicate that always evaluates to true .
Predicateand(Predicate first, Predicate second)
Returns a predicate that evaluates to true if both of its components evaluate to true .
Predicateand(Iterable> components)
Returns a predicate that evaluates to true if each of its components evaluates to true .
Predicateand(Predicate... components)
Returns a predicate that evaluates to true if each of its components evaluates to true .
Predicate>assignableFrom(Class clazz)
Returns a predicate that evaluates to true if the class being tested is assignable from the given class.
Predicatecompose(Predicate predicate, Function function)
Returns the composition of a function and a predicate.
Predicatecontains(Pattern pattern)
Returns a predicate that evaluates to true if the CharSequence being tested contains any match for the given regular expression pattern.
PredicatecontainsPattern(String pattern)
Returns a predicate that evaluates to true if the CharSequence being tested contains any match for the given regular expression pattern.
PredicateequalTo(@Nullable T target)
Returns a predicate that evaluates to true if the object being tested equals() the given target or both are null.
Predicatein(Collection target)
Returns a predicate that evaluates to true if the object reference being tested is a member of the given collection.
PredicateinstanceOf(Class clazz)
Returns a predicate that evaluates to true if the object being tested is an instance of the given class.
PredicateisNull()
Returns a predicate that evaluates to true if the object reference being tested is null.
Predicatenot(Predicate predicate)
Returns a predicate that evaluates to true if the given predicate evaluates to false .
PredicatenotNull()
Returns a predicate that evaluates to true if the object reference being tested is not null.
Predicateor(Iterable> components)
Returns a predicate that evaluates to true if any one of its components evaluates to true .
Predicateor(Predicate... components)
Returns a predicate that evaluates to true if any one of its components evaluates to true .
Predicateor(Predicate first, Predicate second)
Returns a predicate that evaluates to true if either of its components evaluates to true .