-
public interface Unsafe
sun.misc.Unsafe 封装类详情见: https://redkale.org
- 从以下版本开始:
- 2.5.0
- 作者:
- zhangjx
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 boolean
getBoolean(Object o, long offset)
byte
getByte(Object o, long offset)
char
getChar(Object o, long offset)
double
getDouble(Object o, long offset)
float
getFloat(Object o, long offset)
int
getInt(Object o, long offset)
long
getLong(Object o, long offset)
Object
getObject(Object o, long offset)
short
getShort(Object o, long offset)
long
objectFieldOffset(Field f)
long
staticFieldOffset(Field f)
-
-
-
方法详细资料
-
getBoolean
boolean getBoolean(Object o, long offset)
-
getByte
byte getByte(Object o, long offset)
-
getShort
short getShort(Object o, long offset)
-
getChar
char getChar(Object o, long offset)
-
getInt
int getInt(Object o, long offset)
-
getLong
long getLong(Object o, long offset)
-
getFloat
float getFloat(Object o, long offset)
-
getDouble
double getDouble(Object o, long offset)
-
objectFieldOffset
long objectFieldOffset(Field f)
-
staticFieldOffset
long staticFieldOffset(Field f)
-
-