public interface GenericArray<T> extends List<T>, GenericContainer
Modifier and Type | Method and Description |
---|---|
T |
peek()
The current content of the location where
List.add(Object) would next
store an element, if any. |
default void |
prune()
clean up reusable objects from array (if reset didn't already)
|
default void |
reset()
reset size counter of array to zero
|
void |
reverse()
Reverses the order of the elements in this array.
|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
getSchema
T peek()
List.add(Object)
would next
store an element, if any. This permits reuse of arrays and their elements
without allocating new objects.default void reset()
default void prune()
void reverse()
Copyright © 2009–2022 The Apache Software Foundation. All rights reserved.