Class SparseIntSet

    • Field Detail

      • elements

        protected int[] elements
        The backing store of int arrays
      • size

        protected int size
        The number of entries in the backing store that are valid.
    • Constructor Detail

      • SparseIntSet

        protected SparseIntSet​(int size)
      • SparseIntSet

        protected SparseIntSet​(int[] backingArray)
        Subclasses should use this with extreme care. Do not allow the backing array to escape elsewhere.
      • SparseIntSet

        public SparseIntSet()
        Subclasses should use this with extreme care.