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, wait
fromNative, nativeSize, toNative
protected 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
在类中 Number
public final float floatValue()
floatValue
在类中 Number
public final double doubleValue()
doubleValue
在类中 Number
Copyright © 2021. All rights reserved.