Lines Matching refs:obj

37     public Object get(Object obj) throws IllegalArgumentException {
38 return Double.valueOf(getDouble(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 {
65 public float getFloat(Object obj) throws IllegalArgumentException {
69 public double getDouble(Object obj) throws IllegalArgumentException {
70 ensureObj(obj);
71 return unsafe.getDoubleVolatile(obj, fieldOffset);
74 public void set(Object obj, Object value)
77 ensureObj(obj);
85 unsafe.putDoubleVolatile(obj, fieldOffset, ((Byte) value).byteValue());
89 unsafe.putDoubleVolatile(obj, fieldOffset, ((Short) value).shortValue());
93 unsafe.putDoubleVolatile(obj, fieldOffset, ((Character) value).charValue());
97 unsafe.putDoubleVolatile(obj, fieldOffset, ((Integer) value).intValue());
101 unsafe.putDoubleVolatile(obj, fieldOffset, ((Long) value).longValue());
105 unsafe.putDoubleVolatile(obj, fieldOffset, ((Float) value).floatValue());
109 unsafe.putDoubleVolatile(obj, fieldOffset, ((Double) value).doubleValue());
115 public void setBoolean(Object obj, boolean z)
121 public void setByte(Object obj, byte b)
124 setDouble(obj, b);
127 public void setChar(Object obj, char c)
130 setDouble(obj, c);
133 public void setShort(Object obj, short s)
136 setDouble(obj, s);
139 public void setInt(Object obj, int i)
142 setDouble(obj, i);
145 public void setLong(Object obj, long l)
148 setDouble(obj, l);
151 public void setFloat(Object obj, float f)
154 setDouble(obj, f);
157 public void setDouble(Object obj, double d)
160 ensureObj(obj);
164 unsafe.putDoubleVolatile(obj, fieldOffset, d);