Class Predicates.IsValuePredicate<T>
java.lang.Object
com.oracle.coherence.concurrent.executor.function.Predicates.IsValuePredicate<T>
- Type Parameters:
T
- the type of theResult
being 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.IsValuePredicate
A constant for thePredicates.IsValuePredicate
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Predicates.IsValuePredicate
<T> get()
Obtains an instance of thePredicates.IsValuePredicate
.boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.oracle.coherence.concurrent.executor.function.PortablePredicate
readExternal, writeExternal
Methods 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
-