public class ArrayListWrapper extends AbstractList
modCount| Constructor and Description |
|---|
ArrayListWrapper(Object array) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int index) |
boolean |
isEmpty() |
Object |
set(int index,
Object element) |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subListaddAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic ArrayListWrapper(Object array)
public Object get(int index)
get in interface Listget in class AbstractListpublic Object set(int index, Object element)
set in interface Listset in class AbstractListpublic int size()
size in interface Collectionsize in interface Listsize in class AbstractCollectionpublic boolean isEmpty()
isEmpty in interface CollectionisEmpty in interface ListisEmpty in class AbstractCollectionCopyright © 2000–2019 The Apache Software Foundation. All rights reserved.