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>>
AnPredicates.IsValuePredicate
returns true when a providedResult.isValue()
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static Predicates.IsValuePredicate
INSTANCE
A constant for thePredicates.IsValuePredicate
.
-
Constructor Summary
Constructors Constructor Description IsValuePredicate()
Constructs aPredicates.IsValuePredicate
(required for serialization).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> Predicates.IsValuePredicate<T>
get()
Obtains an instance of thePredicates.IsValuePredicate
.boolean
test(Result<T> result)
-
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 Detail
-
INSTANCE
protected static final Predicates.IsValuePredicate INSTANCE
A constant for thePredicates.IsValuePredicate
.
-
-
Constructor Detail
-
IsValuePredicate
public IsValuePredicate()
Constructs aPredicates.IsValuePredicate
(required for serialization).
-
-
Method Detail
-
get
public static <T> Predicates.IsValuePredicate<T> get()
Obtains an instance of thePredicates.IsValuePredicate
.- Type Parameters:
T
- the type of theTask
- Returns:
- an
Predicates.IsValuePredicate
-
-