|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.partition.impl.btree.jdbm.LongSerializer
public class LongSerializer
A Serializer
for Longs
Field Summary | |
---|---|
static LongSerializer |
INSTANCE
|
Constructor Summary | |
---|---|
LongSerializer()
|
Method Summary | |
---|---|
java.lang.Object |
deserialize(byte[] bites)
Deserialize the content of an object from a byte array. |
byte[] |
serialize(java.lang.Object o)
Serialize the content of an object into a byte array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final LongSerializer INSTANCE
Constructor Detail |
---|
public LongSerializer()
Method Detail |
---|
public byte[] serialize(java.lang.Object o) throws java.io.IOException
Serializer
serialize
in interface Serializer
o
- Object to serialize
java.io.IOException
public java.lang.Object deserialize(byte[] bites) throws java.io.IOException
Serializer
deserialize
in interface Serializer
bites
- Byte array representation of the object
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |