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, toArrayparallelStream, removeIf, streamgetSchemaT 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–2021 The Apache Software Foundation. All rights reserved.