|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectiitb.con.ds.TypeSerializer
public class TypeSerializer
TypeSerializer serializes Type to bytes and vice versa
Type| Constructor Summary | |
|---|---|
TypeSerializer()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
attributeDeSerialize(java.nio.ByteBuffer buf,
java.lang.Object name)
Deserializes the specified attribute to object value |
Type |
deSerialize(java.nio.ByteBuffer buf)
Deserializes the given bytes as Type |
java.nio.ByteBuffer |
serialize(Type type)
Serializes Type to bytes |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeSerializer()
| Method Detail |
|---|
public java.lang.Object attributeDeSerialize(java.nio.ByteBuffer buf,
java.lang.Object name)
attributeDeSerialize in interface ItemSerializer<Type>buf - bytes as ByteBuffername - attribute name
public Type deSerialize(java.nio.ByteBuffer buf)
deSerialize in interface ItemSerializer<Type>buf - bytes as ByteBuffer
public java.nio.ByteBuffer serialize(Type type)
serialize in interface ItemSerializer<Type>type - Type
ByteBuffer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||