Methods Summary |
---|
public void | put(java.lang.String name, boolean value)Put the value of the named boolean field into the persistent field.
fields.put(name, new Boolean(value));
|
public void | put(java.lang.String name, char value)Put the value of the named char field into the persistent fields.
fields.put(name, new Character(value));
|
public void | put(java.lang.String name, byte value)Put the value of the named byte field into the persistent fields.
fields.put(name, new Byte(value));
|
public void | put(java.lang.String name, short value)Put the value of the named short field into the persistent fields.
fields.put(name, new Short(value));
|
public void | put(java.lang.String name, int value)Put the value of the named int field into the persistent fields.
fields.put(name, new Integer(value));
|
public void | put(java.lang.String name, long value)Put the value of the named long field into the persistent fields.
fields.put(name, new Long(value));
|
public void | put(java.lang.String name, float value)Put the value of the named float field into the persistent fields.
fields.put(name, new Float(value));
|
public void | put(java.lang.String name, double value)Put the value of the named double field into the persistent field.
fields.put(name, new Double(value));
|
public void | put(java.lang.String name, java.lang.Object value)Put the value of the named Object field into the persistent field.
fields.put(name, value);
|
public void | write(java.io.ObjectOutput out)Write the data and fields to the specified ObjectOutput stream.
out.writeObject(fields);
|