Package org.datavec.api.conf
Class Configuration.IntegerRanges
- java.lang.Object
-
- org.datavec.api.conf.Configuration.IntegerRanges
-
- Enclosing class:
- Configuration
public static class Configuration.IntegerRanges extends Object
A class that represents a set of positive integer ranges. It parses strings of the form: "2-3,5,7-" where ranges are separated by comma and the lower/upper bounds are separated by dash. Either the lower or upper bound may be omitted meaning all values up to or over. So the string above means 2, 3, 5, and 7, 8, 9, ...
-
-
Constructor Summary
Constructors Constructor Description IntegerRanges()
IntegerRanges(String newValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isIncluded(int value)
Is the given value in the set of rangesString
toString()
-
-
-
Constructor Detail
-
IntegerRanges
public IntegerRanges()
-
IntegerRanges
public IntegerRanges(String newValue)
-
-