Class Predicates.NegatePredicate<T>
java.lang.Object
com.oracle.coherence.concurrent.executor.function.Predicates.NegatePredicate<T>
- Type Parameters:
T
- the type of value
- All Implemented Interfaces:
PortablePredicate<T>
,PortableObject
,Remote.Predicate<T>
,Serializable
,Predicate<T>
- Enclosing class:
Predicates
A
Remote.Predicate
that negates the result of another Remote.Predicate
.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aPredicates.NegatePredicate
(required for serialization).NegatePredicate
(Remote.Predicate<T> predicate) Constructs aPredicates.NegatePredicate
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Restore the contents of a user type instance by reading its state using the specified PofReader object.boolean
void
writeExternal
(PofWriter out) Save the contents of a POF user type instance by writing its state using the specified PofWriter object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tangosol.util.function.Remote.Predicate
and, negate, or
-
Constructor Details
-
NegatePredicate
public NegatePredicate()Constructs aPredicates.NegatePredicate
(required for serialization). -
NegatePredicate
Constructs aPredicates.NegatePredicate
.- Parameters:
predicate
- theRemote.Predicate
to negate
-
-
Method Details
-
test
-
readExternal
Description copied from interface:PortableObject
Restore the contents of a user type instance by reading its state using the specified PofReader object.- Specified by:
readExternal
in interfacePortableObject
- Specified by:
readExternal
in interfacePortablePredicate<T>
- Parameters:
in
- the PofReader from which to read the object's state- Throws:
IOException
- if an I/O error occurs
-
writeExternal
Description copied from interface:PortableObject
Save the contents of a POF user type instance by writing its state using the specified PofWriter object.- Specified by:
writeExternal
in interfacePortableObject
- Specified by:
writeExternal
in interfacePortablePredicate<T>
- Parameters:
out
- the PofWriter to which to write the object's state- Throws:
IOException
- if an I/O error occurs
-