IMPLTYPE - Real implementation typepublic abstract class AbstractMutableNumeric<IMPLTYPE extends AbstractMutableNumeric<IMPLTYPE>> extends Number implements IMutableNumeric<IMPLTYPE>
IMutableNumeric extending
Number class.| Constructor and Description |
|---|
AbstractMutableNumeric() |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getAsBigDecimal() |
BigInteger |
getAsBigInteger() |
Byte |
getAsByte() |
Character |
getAsCharacter() |
Double |
getAsDouble() |
Float |
getAsFloat() |
Integer |
getAsInteger() |
Long |
getAsLong() |
Short |
getAsShort() |
protected void |
onAfterChange()
This method is invoked after a value changed.
|
byteValue, doubleValue, floatValue, intValue, longValue, shortValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitis0, isGreater0, isGreaterOrEqual0, isNot0, isSmaller0, isSmallerOrEqual0compareTogetClonethisAsT@OverrideOnDemand protected void onAfterChange()
@Nonnull public final Byte getAsByte()
getAsByte in interface IMutableNumeric<IMPLTYPE extends AbstractMutableNumeric<IMPLTYPE>>@Nonnull public final Character getAsCharacter()
getAsCharacter in interface IMutableNumeric<IMPLTYPE extends AbstractMutableNumeric<IMPLTYPE>>@Nonnull public final Double getAsDouble()
getAsDouble in interface IMutableNumeric<IMPLTYPE extends AbstractMutableNumeric<IMPLTYPE>>@Nonnull public final Float getAsFloat()
getAsFloat in interface IMutableNumeric<IMPLTYPE extends AbstractMutableNumeric<IMPLTYPE>>@Nonnull public final Integer getAsInteger()
getAsInteger in interface IMutableNumeric<IMPLTYPE extends AbstractMutableNumeric<IMPLTYPE>>@Nonnull public final Long getAsLong()
getAsLong in interface IMutableNumeric<IMPLTYPE extends AbstractMutableNumeric<IMPLTYPE>>@Nonnull public final Short getAsShort()
getAsShort in interface IMutableNumeric<IMPLTYPE extends AbstractMutableNumeric<IMPLTYPE>>@Nonnull public BigInteger getAsBigInteger()
getAsBigInteger in interface IMutableNumeric<IMPLTYPE extends AbstractMutableNumeric<IMPLTYPE>>@Nonnull public BigDecimal getAsBigDecimal()
getAsBigDecimal in interface IMutableNumeric<IMPLTYPE extends AbstractMutableNumeric<IMPLTYPE>>Copyright © 2014–2016 Philip Helger. All rights reserved.