public class ArrayWrapperList extends AbstractList<Object>
modCount| Modifier and Type | Method | Description |
|---|---|---|
Object |
get(int index) |
|
Class<?> |
getComponentType() |
Returns the component type of the wrapped array.
|
int |
size() |
|
static ArrayWrapperList |
wrap(Object array) |
Wraps a given array with a
|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringadd, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListparallelStream, removeIf, streampublic static ArrayWrapperList wrap(Object array)
ArrayWrapperListarray - the array to wrap.null if the given array was already null.IllegalArgumentException - if the array is not an array.public Object get(int index)
public int size()
size in interface Collection<Object>size in interface List<Object>size in class AbstractCollection<Object>public Class<?> getComponentType()
Copyright © 2014–2019. All rights reserved.