Class Equal

  • All Implemented Interfaces:
    KnowledgeBaseConsumer, PredicateFactory

    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.