public final class AtomicListConcat extends AbstractSingleResultPredicate
atomic_list_concat(List,Separator,Atom)
/ atomic_list_concat(List,Atom)
Concatenates the elements of List
and attempts to unify with Atom
. If using the 3 argument
version then Separator
will be inserted between each element of List
.
Constructor and Description |
---|
AtomicListConcat() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
evaluate(Term atomList,
Term concatenatedResultAtom) |
protected boolean |
evaluate(Term atomList,
Term separatorAtom,
Term concatenatedResultAtom) |
evaluate, evaluate, evaluate, evaluate, getArithmeticOperators, getFileHandles, getKnowledgeBase, getOperands, getPredicate, getPredicates, getProjogListeners, getSpyPoints, getTermFormatter, init, isRetryable, setKnowledgeBase
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAlwaysCutOnBacktrack
protected boolean evaluate(Term atomList, Term concatenatedResultAtom)
evaluate
in class AbstractSingleResultPredicate
protected boolean evaluate(Term atomList, Term separatorAtom, Term concatenatedResultAtom)
evaluate
in class AbstractSingleResultPredicate
Copyright © 2024. All rights reserved.