Class IntArrayList

  • All Implemented Interfaces:
    Cloneable, Iterable, Collection, List

    public class IntArrayList
    extends AbstractList
    implements Cloneable
    An ArrayList based upon int members. Not quite a real implementation of a modifiable list as I don't do, for example, add(index,element). TODO: unused?
    • Field Detail

      • n

        protected int n
      • elements

        protected int[] elements
    • Constructor Detail

      • IntArrayList

        public IntArrayList()
      • IntArrayList

        public IntArrayList​(int initialCapacity)