Class StrictEquality

java.lang.Object
org.projog.core.predicate.AbstractSingleResultPredicate
org.projog.core.predicate.builtin.compare.StrictEquality
All Implemented Interfaces:
KnowledgeBaseConsumer, PredicateFactory

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.