|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<Var>
omnics.VarSet
public class VarSet
Represents a set of variables.
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
VarSet()
Creates a new instance of VarSet |
|
VarSet(java.util.Collection<Var> variables)
Creates a new instance of VarSet |
|
VarSet(Var... variables)
Creates a new instance of VarSet |
|
VarSet(VarSet variables)
Creates a new instance of VarSet |
|
| Method Summary | |
|---|---|
boolean |
add(Var var)
|
Var |
first()
Returns the first element of the set. |
Var |
last()
Returns the lasr element of the set. |
Var[] |
toArray()
|
| Methods inherited from class java.util.ArrayList |
|---|
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Constructor Detail |
|---|
public VarSet()
public VarSet(VarSet variables)
public VarSet(java.util.Collection<Var> variables)
public VarSet(Var... variables)
| Method Detail |
|---|
public Var first()
public Var last()
public Var[] toArray()
toArray in interface java.util.Collection<Var>toArray in interface java.util.List<Var>toArray in class java.util.ArrayList<Var>public boolean add(Var var)
add in interface java.util.Collection<Var>add in interface java.util.List<Var>add in class java.util.ArrayList<Var>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||