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, subList
addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public ArrayListWrapper(Object array)
public Object get(int index)
get
in interface List
get
in class AbstractList
public Object set(int index, Object element)
set
in interface List
set
in class AbstractList
public int size()
size
in interface Collection
size
in interface List
size
in class AbstractCollection
public boolean isEmpty()
isEmpty
in interface Collection
isEmpty
in interface List
isEmpty
in class AbstractCollection
Copyright © 2000–2021 The Apache Software Foundation. All rights reserved.