|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ItemSerializer<T>
Interface to serialize (from object to bytes) and deserialize (from bytes to object) items.
ByteBuffer
Method Summary | |
---|---|
java.lang.Object |
attributeDeSerialize(java.nio.ByteBuffer buf,
java.lang.Object name)
Deserializes the given bytes to object |
T |
deSerialize(java.nio.ByteBuffer buf)
Deserializes the given bytes to object |
java.nio.ByteBuffer |
serialize(T t)
Serializes the given object to bytes |
Method Detail |
---|
java.lang.Object attributeDeSerialize(java.nio.ByteBuffer buf, java.lang.Object name)
buf
- bytes as ByteBuffer
name
- attribute name
T deSerialize(java.nio.ByteBuffer buf)
buf
- bytes as ByteBuffer
java.nio.ByteBuffer serialize(T t)
t
- object
ByteBuffer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |