public class TermListImpl extends AbstractList<Term<?>> implements TermList
Term.Operator| Modifier and Type | Field and Description |
|---|---|
protected Term.Operator |
operator |
protected List<Term<?>> |
value |
modCount| Modifier | Constructor and Description |
|---|---|
protected |
TermListImpl() |
protected |
TermListImpl(int initialSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Term<?> element) |
boolean |
add(Term<?> o) |
boolean |
equals(Object obj) |
Term<?> |
get(int arg0) |
Term.Operator |
getOperator()
Operator between two terms.
|
List<Term<?>> |
getValue()
Getter for value
|
int |
hashCode() |
Iterator<Term<?>> |
iterator() |
Term<?> |
remove(int index) |
TermList |
setOperator(Term.Operator operator)
Sets operator
|
TermList |
setValue(List<Term<?>> value)
Setter for value
|
int |
size() |
String |
toString() |
addAll, clear, indexOf, lastIndexOf, listIterator, listIterator, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, addAll, clear, contains, containsAll, indexOf, isEmpty, lastIndexOf, listIterator, listIterator, remove, removeAll, retainAll, set, subList, toArray, toArrayprotected Term.Operator operator
protected TermListImpl()
protected TermListImpl(int initialSize)
public TermList setValue(List<Term<?>> value)
Termpublic Term.Operator getOperator()
TermnullgetOperator in interface Term<List<Term<?>>>public TermList setOperator(Term.Operator operator)
TermsetOperator in interface Term<List<Term<?>>>operator - the operator to setpublic Term<?> get(int arg0)
public void add(int index,
Term<?> element)
public Term<?> remove(int index)
public int size()
size in interface Collection<Term<?>>size in interface List<Term<?>>size in class AbstractCollection<Term<?>>public boolean add(Term<?> o)
add in interface Collection<Term<?>>add in interface List<Term<?>>add in class AbstractList<Term<?>>public String toString()
toString in class AbstractCollection<Term<?>>public int hashCode()
hashCode in interface Collection<Term<?>>hashCode in interface List<Term<?>>hashCode in class AbstractList<Term<?>>public boolean equals(Object obj)
equals in interface Collection<Term<?>>equals in interface List<Term<?>>equals in class AbstractList<Term<?>>Copyright © 2014. All rights reserved.