Iterable<Object>, Collection<Object>, List<Object>
This is different from ArrayList because the array may be an array of primitives. Arrays of non-primitives also work, but ArrayList would probably be a better choice for these arrays.
ArrayList
private final Object
array
modCount
PrimitiveArrayList(Object array)
PrimitiveArrayList
Object
get(int index)
int
size()
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
parallelStream, removeIf, stream
forEach
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
get
List<Object>
AbstractList<Object>
size
Collection<Object>
AbstractCollection<Object>