IMPLTYPE - Implementation typepublic interface IMutableNumeric<IMPLTYPE extends IMutableNumeric<IMPLTYPE>> extends IMutableObject<IMPLTYPE>, INumber
| Modifier and Type | Method and Description |
|---|---|
default BigDecimal |
getAsBigDecimal() |
default BigInteger |
getAsBigInteger() |
default Byte |
getAsByte() |
default Character |
getAsCharacter() |
default Double |
getAsDouble() |
default Float |
getAsFloat() |
default Integer |
getAsInteger() |
default Long |
getAsLong() |
default Short |
getAsShort() |
boolean |
is0() |
boolean |
isGE0() |
boolean |
isGT0() |
boolean |
isLE0() |
boolean |
isLT0() |
default boolean |
isNot0() |
isEQ, isGE, isGT, isLE, isLT, isNEcompareTogetClonethisAsTbyteValue, doubleValue, floatValue, intValue, longValue, shortValueboolean is0()
true if the value is 0default boolean isNot0()
true if the value is not 0boolean isLT0()
true if the value is < 0boolean isLE0()
true if the value is ≤ 0boolean isGT0()
true if the value is > 0boolean isGE0()
true if the value is ≥ 0@Nonnull default BigInteger getAsBigInteger()
@Nonnull default BigDecimal getAsBigDecimal()
Copyright © 2014–2017 Philip Helger. All rights reserved.