|
||||||||||
| 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<T>
org.apache.torque.util.UniqueList<T>
T - the type of objects contained in the List.public class UniqueList<T>
List with unique entries. UniqueList does not allow null nor duplicates.
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
UniqueList()
Constructs an empty UniqueList. |
|
UniqueList(UniqueList<T> list)
Copy-constructor. |
|
| Method Summary | |
|---|---|
boolean |
add(T o)
Adds an Object to the list. |
| Methods inherited from class java.util.ArrayList |
|---|
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, 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 |
| Constructor Detail |
|---|
public UniqueList()
public UniqueList(UniqueList<T> list)
list - the uniqueList to copy| Method Detail |
|---|
public boolean add(T o)
add in interface Collection<T>add in interface List<T>add in class ArrayList<T>o - the Object to add
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||