public class BetweenSpacePredicate extends AbstractSpacePredicate
| Constructor and Description |
|---|
BetweenSpacePredicate()
Default constructor for Externalizable.
|
BetweenSpacePredicate(Comparable<?> low,
Comparable<?> high)
Creates a Between predicate.
|
BetweenSpacePredicate(Comparable<?> low,
Comparable<?> high,
boolean lowInclusive,
boolean highInclusive)
Creates a Between predicate.
|
BetweenSpacePredicate(Comparable<?> low,
Comparable<?> high,
Comparator<?> comparator)
Creates a Between predicate.
|
BetweenSpacePredicate(Comparable<?> low,
Comparable<?> high,
Comparator<?> comparator,
boolean lowInclusive,
boolean highInclusive)
Creates a Between predicate.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
execute(Object target)
Executes this predicate on the specified target.
|
ComparableScalarSpacePredicate |
getHighPredicate()
Gets the predicate which tests the high limit of the between range.
|
ComparableScalarSpacePredicate |
getLowPredicate()
Gets the predicate which tests the low limit of the between range.
|
protected void |
readExternalImpl(ObjectInput in) |
protected void |
writeExternalImpl(ObjectOutput out) |
preparePredicate, requiresCacheManagerForExecution, setCacheManagerForExecutionreadExternal, writeExternalclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadExternal, writeExternalpublic BetweenSpacePredicate()
public BetweenSpacePredicate(Comparable<?> low, Comparable<?> high)
low - Low limit for expected value.high - High limit for expected value.public BetweenSpacePredicate(Comparable<?> low, Comparable<?> high, Comparator<?> comparator)
low - Low limit for expected value.high - High limit for expected value.comparator - Comparator to use for comparison.public BetweenSpacePredicate(Comparable<?> low, Comparable<?> high, boolean lowInclusive, boolean highInclusive)
low - Low limit for expected value.high - High limit for expected value.lowInclusive - Determines if low limit comparison is inclusive.highInclusive - Determines if high limit comparison is inclusive.public BetweenSpacePredicate(Comparable<?> low, Comparable<?> high, Comparator<?> comparator, boolean lowInclusive, boolean highInclusive)
low - Low limit for expected value.high - High limit for expected value.comparator - Comparator to use for comparison.lowInclusive - Determines if low limit comparison is inclusive.highInclusive - Determines if high limit comparison is inclusive.public ComparableScalarSpacePredicate getLowPredicate()
public ComparableScalarSpacePredicate getHighPredicate()
public boolean execute(Object target)
ISpacePredicateexecute in interface ISpacePredicateexecute in class AbstractSpacePredicateprotected void readExternalImpl(ObjectInput in) throws IOException, ClassNotFoundException
readExternalImpl in class AbstractExternalizableIOExceptionClassNotFoundExceptionprotected void writeExternalImpl(ObjectOutput out) throws IOException
writeExternalImpl in class AbstractExternalizableIOExceptionCopyright © GigaSpaces.