com.hazelcast.query
Class TruePredicate
java.lang.Object
com.hazelcast.query.TruePredicate
- All Implemented Interfaces:
- DataSerializable, Predicate, Serializable
public class TruePredicate
- extends Object
- implements DataSerializable, Predicate
A Predicate
which always returns true.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final TruePredicate INSTANCE
- An instance of the TruePredicate.
TruePredicate
public TruePredicate()
writeData
public void writeData(ObjectDataOutput out)
throws IOException
- Description copied from interface:
DataSerializable
- Writes object fields to output stream
- Specified by:
writeData
in interface DataSerializable
- Parameters:
out
- output
- Throws:
IOException
readData
public void readData(ObjectDataInput in)
throws IOException
- Description copied from interface:
DataSerializable
- Reads fields from the input stream
- Specified by:
readData
in interface DataSerializable
- Parameters:
in
- input
- Throws:
IOException
apply
public boolean apply(Map.Entry mapEntry)
- Specified by:
apply
in interface Predicate
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.