public final class FinalArrayList<T> extends ArrayList<T>
ArrayList with the final keyword.
This gives HotSpot a better hint that all methods can be inlined.
modCount| Constructor and Description |
|---|
FinalArrayList() |
FinalArrayList(Collection<? extends T> ts) |
FinalArrayList(int initialCapacity) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodepublic FinalArrayList(int initialCapacity)
public FinalArrayList()
public FinalArrayList(Collection<? extends T> ts)
Copyright © 2017 Oracle Corporation. All Rights Reserved.