Lines Matching refs:obj

35     public Object get(Object obj) throws IllegalArgumentException {
36 return new Integer(getInt(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 {
56 ensureObj(obj);
57 return unsafe.getInt(obj, fieldOffset);
60 public long getLong(Object obj) throws IllegalArgumentException {
61 return getInt(obj);
64 public float getFloat(Object obj) throws IllegalArgumentException {
65 return getInt(obj);
68 public double getDouble(Object obj) throws IllegalArgumentException {
69 return getInt(obj);
72 public void set(Object obj, Object value)
75 ensureObj(obj);
83 unsafe.putInt(obj, fieldOffset, ((Byte) value).byteValue());
87 unsafe.putInt(obj, fieldOffset, ((Short) value).shortValue());
91 unsafe.putInt(obj, fieldOffset, ((Character) value).charValue());
95 unsafe.putInt(obj, fieldOffset, ((Integer) value).intValue());
101 public void setBoolean(Object obj, boolean z)
107 public void setByte(Object obj, byte b)
110 setInt(obj, b);
113 public void setChar(Object obj, char c)
116 setInt(obj, c);
119 public void setShort(Object obj, short s)
122 setInt(obj, s);
125 public void setInt(Object obj, int i)
128 ensureObj(obj);
132 unsafe.putInt(obj, fieldOffset, i);
135 public void setLong(Object obj, long l)
141 public void setFloat(Object obj, float f)
147 public void setDouble(Object obj, double d)