Class Predicates.EqualToPredicate<T>
- java.lang.Object
-
- com.oracle.coherence.concurrent.executor.function.Predicates.EqualToPredicate<T>
-
- Type Parameters:
T- the type of value
- All Implemented Interfaces:
PortablePredicate<T>,com.tangosol.io.pof.PortableObject,com.tangosol.util.function.Remote.Predicate<T>,Serializable,Predicate<T>
- Enclosing class:
- Predicates
public static class Predicates.EqualToPredicate<T> extends Object implements PortablePredicate<T>
ARemote.Predicateto compare a value usingObject.equals(Object).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EqualToPredicate()Constructs aPredicates.EqualToPredicate(required for serialization).EqualToPredicate(T value)Constructs anPredicates.EqualToPredicate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadExternal(com.tangosol.io.pof.PofReader in)booleantest(T t)voidwriteExternal(com.tangosol.io.pof.PofWriter out)
-
-
-
Field Detail
-
m_value
protected T m_value
The value to compare.
-
-
Constructor Detail
-
EqualToPredicate
public EqualToPredicate()
Constructs aPredicates.EqualToPredicate(required for serialization).
-
EqualToPredicate
public EqualToPredicate(T value)
Constructs anPredicates.EqualToPredicate.- Parameters:
value- the value being compared
-
-
Method Detail
-
readExternal
public void readExternal(com.tangosol.io.pof.PofReader in) throws IOException- Specified by:
readExternalin interfacecom.tangosol.io.pof.PortableObject- Specified by:
readExternalin interfacePortablePredicate<T>- Throws:
IOException
-
writeExternal
public void writeExternal(com.tangosol.io.pof.PofWriter out) throws IOException- Specified by:
writeExternalin interfacecom.tangosol.io.pof.PortableObject- Specified by:
writeExternalin interfacePortablePredicate<T>- Throws:
IOException
-
-