public final class Between extends AbstractPredicateFactory
between(X,Y,Z) - checks if a number is within a specified range.
between(X,Y,Z) succeeds if the integer numeric value represented by Z is greater than or
equal to the integer numeric value represented by X and is less than or equal to the integer numeric
value represented by Y.
If Z is an uninstantiated variable then Z will be successively unified with all integer
values in the range from X to Y.
| Constructor and Description |
|---|
Between() |
| Modifier and Type | Method and Description |
|---|---|
protected Predicate |
getPredicate(Term low,
Term high,
Term middle) |
getArithmeticOperators, getFileHandles, getKnowledgeBase, getOperands, getPredicate, getPredicate, getPredicate, getPredicate, getPredicate, getPredicates, getProjogListeners, getSpyPoints, getTermFormatter, init, isRetryable, setKnowledgeBaseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisAlwaysCutOnBacktrackprotected Predicate getPredicate(Term low, Term high, Term middle)
getPredicate in class AbstractPredicateFactoryCopyright © 2024. All rights reserved.