|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--qdbm.Util
Class of utility methods.
| Method Summary | |
static java.lang.Object |
deserialize(byte[] serial)
Deserialize a serialized object. |
static long |
deserializeLong(byte[] serial)
Deserialize a serialized long integer. |
static byte[] |
serialize(java.lang.Object obj)
Serialize an object. |
static byte[] |
serializeLong(long num)
Serialize a long integer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.lang.Object deserialize(byte[] serial)
serial - a byte array of the serialized object.
public static long deserializeLong(byte[] serial)
throws java.lang.IllegalArgumentException
serial - a byte array of a serialized long integer.
java.lang.IllegalArgumentException - thrown if the size of the array is invalid.public static byte[] serialize(java.lang.Object obj)
obj - a serializable object.
public static byte[] serializeLong(long num)
num - a long integer.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||