Class OptionsRangeCount
java.lang.Object
com.tccc.kos.commons.core.service.config.options.ConfigOptions
com.tccc.kos.commons.core.service.config.options.OptionsRangeCount
Creates a numeric range based on dividing a given range into a fixed number
of values. For example, if start = 0 and end = 10 and count = 3 then there
will be three values: 0, 5, 10. This implies that a count of less than two is
meaningless as the start and end values are always in the list.
- Version:
- 2023-10-30
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
OptionsRangeCount
public OptionsRangeCount()
-
-
Method Details
-
getType
Description copied from class:ConfigOptionsReturn the options type- Specified by:
getTypein classConfigOptions
-
getStart
public double getStart() -
getEnd
public double getEnd() -
getCount
public int getCount() -
getDecimals
public int getDecimals() -
setStart
public void setStart(double start) -
setEnd
public void setEnd(double end) -
setCount
public void setCount(int count) -
setDecimals
public void setDecimals(int decimals)
-