Class NumberList

    • Constructor Detail

      • NumberList

        public NumberList()
        Default constructor.
      • NumberList

        public NumberList​(ValueRange valueRange,
                          boolean allowsNegativeValues)
        Construct a number list restricted by the specified ValueRange.
        Parameters:
        valueRange - a range defining the lower and upper bounds of allowed values
        allowsNegativeValues - allow negative values, where abs(value) is within the specified range
      • NumberList

        @Deprecated
        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,
                          ValueRange valueRange,
                          boolean allowsNegativeValues)
        Construct a number list restricted by the specified ValueRange.
        Parameters:
        aString - a string representation of a list of values
        valueRange - a range defining the lower and upper bounds of allowed values
        allowsNegativeValues - allow negative values, where abs(value) is within the specified range
      • NumberList

        @Deprecated
        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