Class NumberList

    • Constructor Detail

      • NumberList

        public NumberList()
        Default constructor.
      • NumberList

        public NumberList​(int minValue,
                          int maxValue,
                          boolean allowsNegativeValues)
        Constructor with limits.
        Parameters:
        minValue - the minimum allowable value
        maxValue - the maximum allowable value
        allowsNegativeValues - indicates whether negative values are allowed
      • NumberList

        public NumberList​(String aString)
        Constructor.
        Parameters:
        aString - a string representation of a number list
      • NumberList

        public NumberList​(String aString,
                          int minValue,
                          int maxValue,
                          boolean allowsNegativeValues)
        Parameters:
        aString - a string representation of a number list
        minValue - the minimum allowable value
        maxValue - the maximum allowable value
        allowsNegativeValues - indicates whether negative values are allowed