Class AutoGrowArrayList<E>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<E>
com.aoapps.collections.AutoGrowArrayList<E>
All Implemented Interfaces:
Serializable, Cloneable, Iterable<E>, Collection<E>, List<E>, RandomAccess

public class AutoGrowArrayList<E> extends ArrayList<E>
Automatically extends the size of the list instead of throwing exceptions on set, add, and addAll.
Author:
AO Industries, Inc.
See Also:
  • Constructor Details

    • AutoGrowArrayList

      public AutoGrowArrayList()
    • AutoGrowArrayList

      public AutoGrowArrayList(int initialCapacity)
    • AutoGrowArrayList

      public AutoGrowArrayList(Collection<E> c)
  • Method Details