Class ListTermImpl

All Implemented Interfaces:
ListTerm, LogicalFormula, Term, ToDOM, ToJson, Serializable, Cloneable, Comparable<Term>, Iterable<Term>, Collection<Term>, List<Term>, SequencedCollection<Term>

public class ListTermImpl extends Structure implements ListTerm
Represents a list node as in prolog .(t1,.(t2,.(t3,.))). Each nth-ListTerm has both a term and the next ListTerm. The last ListTem is an empty ListTerm (term==null). In lists terms with a tail ([a|X]), next is the Tail (next==X, term==a).
See Also: