T
- the type of objects contained in the List.public class UniqueList<T> extends ArrayList<T>
modCount
Constructor and Description |
---|
UniqueList()
Constructs an empty UniqueList.
|
UniqueList(UniqueList<T> list)
Copy-constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(T o)
Adds an Object to the list.
|
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public UniqueList()
public UniqueList(UniqueList<T> list)
list
- the uniqueList to copyCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.