Lines Matching refs:obj

35     public Object get(Object obj) throws IllegalArgumentException {
36 return new Double(getDouble(obj));
39 public boolean getBoolean(Object obj) throws IllegalArgumentException {
43 public byte getByte(Object obj) throws IllegalArgumentException {
47 public char getChar(Object obj) throws IllegalArgumentException {
51 public short getShort(Object obj) throws IllegalArgumentException {
55 public int getInt(Object obj) throws IllegalArgumentException {
59 public long getLong(Object obj) throws IllegalArgumentException {
63 public float getFloat(Object obj) throws IllegalArgumentException {
67 public double getDouble(Object obj) throws IllegalArgumentException {
68 ensureObj(obj);
69 return unsafe.getDouble(obj, fieldOffset);
72 public void set(Object obj, Object value)
75 ensureObj(obj);
83 unsafe.putDouble(obj, fieldOffset, ((Byte) value).byteValue());
87 unsafe.putDouble(obj, fieldOffset, ((Short) value).shortValue());
91 unsafe.putDouble(obj, fieldOffset, ((Character) value).charValue());
95 unsafe.putDouble(obj, fieldOffset, ((Integer) value).intValue());
99 unsafe.putDouble(obj, fieldOffset, ((Long) value).longValue());
103 unsafe.putDouble(obj, fieldOffset, ((Float) value).floatValue());
107 unsafe.putDouble(obj, fieldOffset, ((Double) value).doubleValue());
113 public void setBoolean(Object obj, boolean z)
119 public void setByte(Object obj, byte b)
122 setDouble(obj, b);
125 public void setChar(Object obj, char c)
128 setDouble(obj, c);
131 public void setShort(Object obj, short s)
134 setDouble(obj, s);
137 public void setInt(Object obj, int i)
140 setDouble(obj, i);
143 public void setLong(Object obj, long l)
146 setDouble(obj, l);
149 public void setFloat(Object obj, float f)
152 setDouble(obj, f);
155 public void setDouble(Object obj, double d)
158 ensureObj(obj);
162 unsafe.putDouble(obj, fieldOffset, d);