public final class Delete extends AbstractSingleResultPredicate
delete(X,Y,Z) - remove all occurrences of a term from a list.
Removes all occurrences of the term Y in the list represented by X and attempts to unify
the result with Z. Strict term equality is used to identify occurrences.
| Constructor and Description |
|---|
Delete() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
evaluate(Term input,
Term element,
Term output) |
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 input, Term element, Term output)
evaluate in class AbstractSingleResultPredicateCopyright © 2024. All rights reserved.