Package de.flapdoodle.kfx.types.numbers
Class BigDecimalType.Unit
-
- All Implemented Interfaces:
-
de.flapdoodle.kfx.types.numbers.NumberUnit
public final class BigDecimalType.Unit implements NumberUnit<BigDecimal>
-
-
Field Summary
Fields Modifier and Type Field Description private final BigDecimalunit
-
Constructor Summary
Constructors Constructor Description BigDecimalType.Unit(BigDecimal unit)
-
Method Summary
Modifier and Type Method Description final BigDecimalgetUnit()IntegerunitsBetween(BigDecimal min, BigDecimal max)BigDecimalfirstUnit(BigDecimal value)BigDecimalnext(BigDecimal value, Integer offset)-
-
Constructor Detail
-
BigDecimalType.Unit
BigDecimalType.Unit(BigDecimal unit)
-
-
Method Detail
-
getUnit
final BigDecimal getUnit()
-
unitsBetween
Integer unitsBetween(BigDecimal min, BigDecimal max)
-
firstUnit
BigDecimal firstUnit(BigDecimal value)
-
next
BigDecimal next(BigDecimal value, Integer offset)
-
-
-
-