| 限定符和类型 | 字段和说明 |
|---|---|
static StringDataType |
INSTANCE |
| 构造器和说明 |
|---|
StringDataType() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
compare(Object a,
Object b)
Compare two keys.
|
int |
getMemory(Object obj)
Estimate the used memory in bytes.
|
String |
read(ByteBuffer buff)
Read an object.
|
void |
read(ByteBuffer buff,
Object[] obj,
int len,
boolean key)
Read a list of objects.
|
void |
write(WriteBuffer buff,
Object obj)
Write an object.
|
void |
write(WriteBuffer buff,
Object[] obj,
int len,
boolean key)
Write a list of objects.
|
public static final StringDataType INSTANCE
public void read(ByteBuffer buff, Object[] obj, int len, boolean key)
DataTypepublic void write(WriteBuffer buff, Object[] obj, int len, boolean key)
DataTypepublic String read(ByteBuffer buff)
DataTypepublic void write(WriteBuffer buff, Object obj)
DataTypeCopyright © 2017. All rights reserved.