Class Predicates.AlwaysPredicate
java.lang.Object
com.oracle.coherence.concurrent.executor.function.Predicates.AlwaysPredicate
- All Implemented Interfaces:
PortablePredicate,PortableObject,Remote.Predicate,Serializable,Predicate
- Enclosing class:
Predicates
An
Predicates.AlwaysPredicate returns true for any value provided to the Predicate.test(Object) method.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Predicates.AlwaysPredicateA constant for thePredicates.AlwaysPredicate. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Remote.Predicate<T> get()Obtains an instance of thePredicates.AlwaysPredicate.booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.oracle.coherence.concurrent.executor.function.PortablePredicate
readExternal, writeExternalMethods inherited from interface com.tangosol.util.function.Remote.Predicate
and, negate, or
-
Field Details
-
INSTANCE
A constant for thePredicates.AlwaysPredicate.
-
-
Constructor Details
-
AlwaysPredicate
public AlwaysPredicate()Constructs aPredicates.AlwaysPredicate(required for serialization).
-
-
Method Details
-
get
Obtains an instance of thePredicates.AlwaysPredicate.- Type Parameters:
T- the type of the input to the predicate- Returns:
- an
Predicates.AlwaysPredicate
-
test
-