Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jason.asSyntax
Interface ListTerm

All Superinterfaces:
  java.lang.Cloneable, java.util.Collection<Term>, java.lang.Comparable<Term>, java.lang.Iterable<Term>, java.util.List<Term>, java.io.Serializable, Term, ToDOM

All Known Implementing Classes:
  ListTermImpl, UnnamedVar, VarTerm

    public interface ListTerm

extends java.util.List<Term>, Term

The interface for lists of the AgentSpeak language

Method Summary
`ListTerm` | `append(Term t)`
`ListTerm` | `cloneLT()` clone the list term
`ListTerm` | `cloneLTShallow()` make a shallow copy of the list (terms are not cloned, only the structure)
`ListTerm` | `concat(ListTerm lt)`
`ListTerm` | `difference(ListTerm lt)`
`java.util.List<Term>` | `getAsList()`
`ListTerm` | `getLast()`
`ListTerm` | `getNext()`
`ListTerm` | `getPenultimate()`
`VarTerm` | `getTail()`
`Term` | `getTerm()`
`ListTerm` | `insert(Term t)`
`ListTerm` | `intersection(ListTerm lt)`
`boolean` | `isEnd()`
`boolean` | `isTail()`
`java.util.Iterator<ListTerm>` | `listTermIterator()`
`Term` | `removeLast()`
`ListTerm` | `reverse()`
`void` | `setNext(Term l)`
`void` | `setTail(VarTerm v)`
`void` | `setTerm(Term t)`
`java.util.Iterator<java.util.List<Term>>` | `subSets(int k)` returns all subsets that take k elements of this list
`ListTerm` | `union(ListTerm lt)`

Methods inherited from interface java.util.List
`add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray`

Methods inherited from interface jason.asSyntax.Term
`apply, clone, countVars, equals, getSrcInfo, hasVar, isArithExpr, isAtom, isGround, isInternalAction, isList, isLiteral, isNumeric, isPlanBody, isPred, isRule, isString, isStructure, isUnnamedVar, isVar, setSrcInfo`

Methods inherited from interface java.lang.Comparable
`compareTo`

Methods inherited from interface jason.util.ToDOM
`getAsDOM`

Method Detail

### setTerm

    void setTerm(Term t)

### getTerm

    Term getTerm()

### setNext

    void setNext(Term l)

### getNext

    ListTerm getNext()

### isEnd

    boolean isEnd()

### isTail

    boolean isTail()

### getTail

    VarTerm getTail()

### setTail

    void setTail(VarTerm v)

### getLast

    ListTerm getLast()

### getPenultimate

    ListTerm getPenultimate()

### removeLast

    Term removeLast()

### append

    ListTerm append(Term t)

### insert

    ListTerm insert(Term t)

### concat

    ListTerm concat(ListTerm lt)

### reverse

    ListTerm reverse()

### union

    ListTerm union(ListTerm lt)

### intersection

    ListTerm intersection(ListTerm lt)

### difference

    ListTerm difference(ListTerm lt)

### subSets

    java.util.Iterator<java.util.List<Term>> subSets(int k)

  returns all subsets that take k elements of this list

### listTermIterator

    java.util.Iterator<ListTerm> listTermIterator()

### getAsList

    java.util.List<Term> getAsList()

### cloneLT

    ListTerm cloneLT()

  clone the list term

### cloneLTShallow

    ListTerm cloneLTShallow()

  make a shallow copy of the list (terms are not cloned, only the structure)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD