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, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public FinalArrayList(int initialCapacity)
public FinalArrayList()
public FinalArrayList(Collection<? extends T> ts)
Copyright © 2021 JBoss by Red Hat. All rights reserved.