public class InSpacePredicate extends AbstractSpacePredicate
Constructor and Description |
---|
InSpacePredicate()
Default constructor for Externalizable.
|
InSpacePredicate(Object... values)
Creates an In predicate using the specified values.
|
InSpacePredicate(Set<?> inValues)
Creates an In predicate using the specified values.
|
Modifier and Type | Method and Description |
---|---|
boolean |
execute(Object target)
Executes this predicate on the specified target.
|
Set<Object> |
getExpectedValues() |
Set<?> |
getInValues() |
int |
getNumOfExpectedValues()
Returns the number of expected values.
|
protected void |
readExternalImpl(ObjectInput in) |
protected void |
writeExternalImpl(ObjectOutput out) |
preparePredicate, requiresCacheManagerForExecution, setCacheManagerForExecution
readExternal, writeExternal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enabledSmartExternalizableWithReference
readExternal, writeExternal
public InSpacePredicate()
public InSpacePredicate(Object... values)
values
- Values to test.public InSpacePredicate(Set<?> inValues)
inValues
- Values to test.public int getNumOfExpectedValues()
public boolean execute(Object target)
ISpacePredicate
execute
in interface ISpacePredicate
execute
in class AbstractSpacePredicate
protected void readExternalImpl(ObjectInput in) throws IOException, ClassNotFoundException
readExternalImpl
in class AbstractExternalizable
IOException
ClassNotFoundException
protected void writeExternalImpl(ObjectOutput out) throws IOException
writeExternalImpl
in class AbstractExternalizable
IOException
public Set<?> getInValues()
Copyright © GigaSpaces.