com.liferay.util
Class UniqueList<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<E>
com.liferay.util.UniqueList<E>
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<E>, Collection<E>, List<E>, RandomAccess
public class UniqueList<E>
- extends ArrayList<E>
- See Also:
- Serialized Form
Methods inherited from class java.util.ArrayList |
clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, size, toArray, toArray, trimToSize |
UniqueList
public UniqueList()
add
public boolean add(E e)
- Specified by:
add
in interface Collection<E>
- Specified by:
add
in interface List<E>
- Overrides:
add
in class ArrayList<E>
add
public void add(int index,
E e)
- Specified by:
add
in interface List<E>
- Overrides:
add
in class ArrayList<E>
addAll
public boolean addAll(Collection<? extends E> c)
- Specified by:
addAll
in interface Collection<E>
- Specified by:
addAll
in interface List<E>
- Overrides:
addAll
in class ArrayList<E>
addAll
public boolean addAll(int index,
Collection<? extends E> c)
- Specified by:
addAll
in interface List<E>
- Overrides:
addAll
in class ArrayList<E>
set
public E set(int index,
E e)
- Specified by:
set
in interface List<E>
- Overrides:
set
in class ArrayList<E>