ObjectDataType.AutoDetectDataType
The base class for auto-detect data types.
| Methods |
| int |
compare(Object aObj, Object bObj)
|
| int |
compare(Object aObj, Object bObj)
|
| int |
getMemory(Object o)
|
| int |
getMemory(Object o)
|
| ObjectDataType.AutoDetectDataType |
getType(Object o)
Get the type for the given object.
|
| ObjectDataType.AutoDetectDataType |
getType(Object o)
Get the type for the given object.
Parameters:
o - the object
Returns:
the type
|
| void |
read(ByteBuffer buff, Object[] obj, int len, boolean key)
|
| void |
read(ByteBuffer buff, Object[] obj, int len, boolean key)
|
| Object |
read(ByteBuffer buff)
|
| Object |
read(ByteBuffer buff)
|
| Object |
read(ByteBuffer buff, int tag)
Read an object from the buffer.
|
| Object |
read(ByteBuffer buff, int tag)
Read an object from the buffer.
Parameters:
buff - the buffer
tag - the first byte of the object (usually the type)
Returns:
the read object
|
| void |
write(WriteBuffer buff, Object[] obj, int len, boolean key)
|
| void |
write(WriteBuffer buff, Object[] obj, int len, boolean key)
|
| void |
write(WriteBuffer buff, Object o)
|
| void |
write(WriteBuffer buff, Object o)
|
|