Lines Matching refs:obj

37     public Object get(Object obj) throws IllegalArgumentException {
38 return new Float(getFloat(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 {
66 ensureObj(obj);
67 return unsafe.getFloatVolatile(obj, fieldOffset);
70 public double getDouble(Object obj) throws IllegalArgumentException {
71 return getFloat(obj);
74 public void set(Object obj, Object value)
77 ensureObj(obj);
85 unsafe.putFloatVolatile(obj, fieldOffset, ((Byte) value).byteValue());
89 unsafe.putFloatVolatile(obj, fieldOffset, ((Short) value).shortValue());
93 unsafe.putFloatVolatile(obj, fieldOffset, ((Character) value).charValue());
97 unsafe.putFloatVolatile(obj, fieldOffset, ((Integer) value).intValue());
101 unsafe.putFloatVolatile(obj, fieldOffset, ((Long) value).longValue());
105 unsafe.putFloatVolatile(obj, fieldOffset, ((Float) value).floatValue());
111 public void setBoolean(Object obj, boolean z)
117 public void setByte(Object obj, byte b)
120 setFloat(obj, b);
123 public void setChar(Object obj, char c)
126 setFloat(obj, c);
129 public void setShort(Object obj, short s)
132 setFloat(obj, s);
135 public void setInt(Object obj, int i)
138 setFloat(obj, i);
141 public void setLong(Object obj, long l)
144 setFloat(obj, l);
147 public void setFloat(Object obj, float f)
150 ensureObj(obj);
154 unsafe.putFloatVolatile(obj, fieldOffset, f);
157 public void setDouble(Object obj, double d)