Class FinalArrayList<T>

Type Parameters:
T - element type
All Implemented Interfaces:
Serializable, Cloneable, Iterable<T>, Collection<T>, List<T>, RandomAccess

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.

Author:
Kohsuke Kawaguchi
See Also:
  • Constructor Details

    • FinalArrayList

      public FinalArrayList(int initialCapacity)
    • FinalArrayList

      public FinalArrayList()
    • FinalArrayList

      public FinalArrayList(Collection<? extends T> ts)