Class Predicates.IsValuePredicate<T>
java.lang.Object
com.oracle.coherence.concurrent.executor.function.Predicates.IsValuePredicate<T>
- Type Parameters:
T- the type of theResultbeing tested
- All Implemented Interfaces:
PortablePredicate<Result<T>>,PortableObject,Remote.Predicate<Result<T>>,Serializable,Predicate<Result<T>>
- Enclosing class:
Predicates
public static class Predicates.IsValuePredicate<T>
extends Object
implements PortablePredicate<Result<T>>
An
Predicates.IsValuePredicate returns true when a provided Result.isValue().- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Predicates.IsValuePredicateA constant for thePredicates.IsValuePredicate. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Predicates.IsValuePredicate<T> get()Obtains an instance of thePredicates.IsValuePredicate.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.IsValuePredicate.
-
-
Constructor Details
-
IsValuePredicate
public IsValuePredicate()Constructs aPredicates.IsValuePredicate(required for serialization).
-
-
Method Details
-
test
-
get
Obtains an instance of thePredicates.IsValuePredicate.- Type Parameters:
T- the type of theTask- Returns:
- an
Predicates.IsValuePredicate
-