Lines Matching refs:obj

37     public Object get(Object obj) throws IllegalArgumentException {
38 return new Long(getLong(obj));
41 public boolean getBoolean(Object obj) throws IllegalArgumentException {
45 public byte getByte(Object obj) throws IllegalArgumentException {
49 public char getChar(Object obj) throws IllegalArgumentException {
53 public short getShort(Object obj) throws IllegalArgumentException {
57 public int getInt(Object obj) throws IllegalArgumentException {
61 public long getLong(Object obj) throws IllegalArgumentException {
62 ensureObj(obj);
63 return unsafe.getLongVolatile(obj, fieldOffset);
66 public float getFloat(Object obj) throws IllegalArgumentException {
67 return getLong(obj);
70 public double getDouble(Object obj) throws IllegalArgumentException {
71 return getLong(obj);
74 public void set(Object obj, Object value)
77 ensureObj(obj);
85 unsafe.putLongVolatile(obj, fieldOffset, ((Byte) value).byteValue());
89 unsafe.putLongVolatile(obj, fieldOffset, ((Short) value).shortValue());
93 unsafe.putLongVolatile(obj, fieldOffset, ((Character) value).charValue());
97 unsafe.putLongVolatile(obj, fieldOffset, ((Integer) value).intValue());
101 unsafe.putLongVolatile(obj, fieldOffset, ((Long) value).longValue());
107 public void setBoolean(Object obj, boolean z)
113 public void setByte(Object obj, byte b)
116 setLong(obj, b);
119 public void setChar(Object obj, char c)
122 setLong(obj, c);
125 public void setShort(Object obj, short s)
128 setLong(obj, s);
131 public void setInt(Object obj, int i)
134 setLong(obj, i);
137 public void setLong(Object obj, long l)
140 ensureObj(obj);
144 unsafe.putLongVolatile(obj, fieldOffset, l);
147 public void setFloat(Object obj, float f)
153 public void setDouble(Object obj, double d)