public interface ReifiedList<T> extends java.util.List<T>, ReifiedIterable<T>
Modifier and Type | Method and Description |
---|---|
boolean |
addAll(T[] array)
Appends all of the elements in the specified array to the end of this list, in the order that they are ordered.
|
ReifiedList<T> |
subList(int fromIndex,
int toIndex)
Creates a sub-list from this list.
|
T[] |
toArray()
Returns all elements in an array copy.
|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, toArray
getGenericTypeParameter
boolean addAll(T[] array)
java.lang.NullPointerException
- If the array is null.T[] toArray()
ReifiedList<T> subList(int fromIndex, int toIndex)
subList
in interface java.util.List<T>
java.lang.IndexOutOfBoundsException
- When an index provided is out of range.