public final class Equal extends AbstractSingleResultPredicate
X=Y - an equality test.
If X can be matched with Y the goal succeeds else the goal fails. A X=Y goal
will consider an uninstantiated variable to be equal to anything. A X=Y goal will always succeed if
either argument is uninstantiated.
| Constructor and Description |
|---|
Equal() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
evaluate(Term arg1,
Term arg2) |
evaluate, evaluate, evaluate, evaluate, evaluate, getArithmeticOperators, getFileHandles, getKnowledgeBase, getOperands, getPredicate, getPredicates, getProjogListeners, getSpyPoints, getTermFormatter, init, isRetryable, setKnowledgeBaseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisAlwaysCutOnBacktrackprotected boolean evaluate(Term arg1, Term arg2)
evaluate in class AbstractSingleResultPredicateCopyright © 2024. All rights reserved.