Class IntegerList

    • Constructor Detail

      • IntegerList

        public IntegerList​(int initialCapacity,
                           int maximalValue)
        Creates an initially empty list with the given initial capacity.
        Parameters:
        initial­Capacity - the initial capacity.
        maximal­Value - the maximal value to be allowed, inclusive.
      • IntegerList

        public IntegerList​(int initialCapacity,
                           int maximalValue,
                           boolean fill)
        Creates a new list with the given initial size. The value of all elements are initialized to 0.
        Parameters:
        initial­Capacity - the initial capacity.
        maximal­Value - the maximal value to be allowed, inclusive.
        fill - if true, the initial size is set to the initial capacity with all values set to 0.