public final class FinalArrayList<T>
extends java.util.ArrayList<T>
ArrayList with the final keyword.
This gives HotSpot a better hint that all methods can be inlined.
| Constructor | Description |
|---|---|
FinalArrayList() |
|
FinalArrayList(int initialCapacity) |
|
FinalArrayList(java.util.Collection<? extends T> ts) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizepublic FinalArrayList(int initialCapacity)
public FinalArrayList()
public FinalArrayList(java.util.Collection<? extends T> ts)
Copyright © 2018 Oracle Corporation. All rights reserved.