public abstract class AbstractNumberReference<T extends Number> extends Number implements ByReference<T>
| 限定符 | 构造器和说明 |
|---|---|
protected |
AbstractNumberReference(T value) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 ByReference<T extends Number>public final short shortValue()
shortValue 在类中 Numberpublic final float floatValue()
floatValue 在类中 Numberpublic final double doubleValue()
doubleValue 在类中 NumberCopyright © 2021. All rights reserved.