IMPLTYPE - Implementation typepublic interface IMutableNumeric<IMPLTYPE extends IMutableNumeric<IMPLTYPE>> extends IMutableObject<IMPLTYPE>
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getAsBigDecimal() |
BigInteger |
getAsBigInteger() |
Byte |
getAsByte() |
Character |
getAsCharacter() |
Double |
getAsDouble() |
Float |
getAsFloat() |
Integer |
getAsInteger() |
Long |
getAsLong() |
Short |
getAsShort() |
boolean |
is0() |
boolean |
isGreater0() |
boolean |
isGreaterOrEqual0() |
default boolean |
isNot0() |
boolean |
isSmaller0() |
boolean |
isSmallerOrEqual0() |
isEqualTo, isGreaterOrEqualThan, isGreaterThan, isLowerOrEqualThan, isLowerThancompareTogetClonethisAsTboolean is0()
true if the value is 0default boolean isNot0()
true if the value is not 0boolean isSmaller0()
true if the value is < 0boolean isSmallerOrEqual0()
true if the value is ≤ 0boolean isGreater0()
true if the value is > 0boolean isGreaterOrEqual0()
true if the value is ≥ 0@Nonnull BigInteger getAsBigInteger()
@Nonnull BigDecimal getAsBigDecimal()
Copyright © 2014–2017 Philip Helger. All rights reserved.