Class Predicates.NeverPredicate
- java.lang.Object
-
- com.oracle.coherence.concurrent.executor.function.Predicates.NeverPredicate
-
- All Implemented Interfaces:
PortablePredicate
,PortableObject
,Remote.Predicate
,Serializable
,Predicate
- Enclosing class:
- Predicates
public static class Predicates.NeverPredicate extends Object implements PortablePredicate
AnPredicates.NeverPredicate
returns false for any value provided to thePredicate.test(Object)
method.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static Predicates.NeverPredicate
INSTANCE
A constant for thePredicates.NeverPredicate
.
-
Constructor Summary
Constructors Constructor Description NeverPredicate()
Constructs aPredicates.NeverPredicate
(required for serialization).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Predicates.NeverPredicate
get()
Obtains an instance of thePredicates.NeverPredicate
.boolean
test(Object o)
-
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.NeverPredicate INSTANCE
A constant for thePredicates.NeverPredicate
.
-
-
Constructor Detail
-
NeverPredicate
public NeverPredicate()
Constructs aPredicates.NeverPredicate
(required for serialization).
-
-
Method Detail
-
get
public static Predicates.NeverPredicate get()
Obtains an instance of thePredicates.NeverPredicate
.- Returns:
- an
Predicates.NeverPredicate
-
-