public class WrapArrayIntoList<T> extends AbstractList<T>
modCount| Constructor and Description |
|---|
WrapArrayIntoList(T[] data,
int size) |
| Modifier and Type | Method and Description |
|---|---|
T |
get(int index) |
boolean |
isEmpty() |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toStringpublic WrapArrayIntoList(T[] data, int size)
public int size()
size in interface Collection<T>size in interface List<T>size in class AbstractCollection<T>public boolean isEmpty()
isEmpty in interface Collection<T>isEmpty in interface List<T>isEmpty in class AbstractCollection<T>Copyright © 2013. All Rights Reserved.