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, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic UniqueList()
public UniqueList(UniqueList<T> list)
list - the uniqueList to copyCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.