public class FalsePredicate<K,V> extends Object implements IdentifiedDataSerializable, Predicate<K,V>, IndexAwarePredicate<K,V>
Predicate which always returns false.| Modifier and Type | Field and Description |
|---|---|
static FalsePredicate |
INSTANCE
An instance of the FalsePredicate.
|
| Constructor and Description |
|---|
FalsePredicate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(Map.Entry<K,V> mapEntry) |
Set<QueryableEntry<K,V>> |
filter(QueryContext queryContext) |
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
int |
getId()
Returns type identifier for this class.
|
boolean |
isIndexed(QueryContext queryContext) |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public static final FalsePredicate INSTANCE
public Set<QueryableEntry<K,V>> filter(QueryContext queryContext)
filter in interface IndexAwarePredicate<K,V>public boolean isIndexed(QueryContext queryContext)
isIndexed in interface IndexAwarePredicate<K,V>public void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionpublic void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionpublic int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializableCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.