|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface DataType
A data type.
| Method Summary | |
|---|---|
int |
compare(java.lang.Object a,
java.lang.Object b)
Compare two keys. |
int |
getMemory(java.lang.Object obj)
Estimate the used memory in bytes. |
java.lang.Object |
read(java.nio.ByteBuffer buff)
Read an object. |
java.nio.ByteBuffer |
write(java.nio.ByteBuffer buff,
java.lang.Object obj)
Write the object. |
| Method Detail |
|---|
int compare(java.lang.Object a,
java.lang.Object b)
a - the first keyb - the second key
int getMemory(java.lang.Object obj)
obj - the object
java.nio.ByteBuffer write(java.nio.ByteBuffer buff,
java.lang.Object obj)
buff - the target bufferobj - the value
java.lang.Object read(java.nio.ByteBuffer buff)
buff - the source buffer
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||