public abstract class AbstractNumberReference<T extends Number> extends Number implements ByReference<T>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractNumberReference(T value) |
| Modifier and Type | Method and Description |
|---|---|
byte |
byteValue() |
protected static <T extends Number> |
checkNull(T value) |
double |
doubleValue() |
float |
floatValue() |
T |
getValue()
Gets the current value the reference points to.
|
int |
intValue() |
long |
longValue() |
short |
shortValue() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromNative, nativeSize, toNativeprotected AbstractNumberReference(T value)
protected static <T extends Number> T checkNull(T value)
public T getValue()
getValue in interface ByReference<T extends Number>public final short shortValue()
shortValue in class Numberpublic final float floatValue()
floatValue in class Numberpublic final double doubleValue()
doubleValue in class NumberCopyright © 2017. All rights reserved.