public final class StrictEquality extends AbstractSingleResultPredicate
X==Y - a strict equality test.
If X can be matched with Y the goal succeeds else the goal fails. A X==Y goal
will only consider an uninstantiated variable to be equal to another uninstantiated variable that is already sharing
with it.
| Constructor and Description |
|---|
StrictEquality() |
| 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.