Class IntArrayList


  • public class IntArrayList
    extends Object
    Minimal implementation of an array-backed list of ints
    • Constructor Detail

      • IntArrayList

        public IntArrayList​(int capacity)
    • Method Detail

      • size

        public int size()
      • add

        public boolean add​(int number)
      • removeLast

        public int removeLast()
      • clear

        public void clear()
      • isEmpty

        public boolean isEmpty()
      • toArray

        public int[] toArray()