class CharacterType extends StorageDataTypeBase {

    @Override
    public int getType() {
        return TYPE_CHAR;
    }

    @Override
    public int compare(Object aObj, Object bObj) {<FILL_FUNCTION_BODY>}

    @Override
    public int getMemory(Object obj) {
        return 16;
    }

    @Override
    public void write(DataBuffer buff, Object obj) {
        buff.put((byte) TYPE_CHAR);
        buff.putChar(((Character) obj).charValue());
    }

    @Override
    public Object read(ByteBuffer buff, int tag) {
        return Character.valueOf(buff.getChar());
    }
}

        Character a = (Character) aObj;
        Character b = (Character) bObj;
        return a.compareTo(b);
    
<methods>public non-sealed void <init>() ,public abstract int getType() ,public java.lang.Object read(java.nio.ByteBuffer) ,public java.lang.Object read(java.nio.ByteBuffer, int) ,public com.lealone.db.value.Value readValue(java.nio.ByteBuffer) ,public com.lealone.db.value.Value readValue(java.nio.ByteBuffer, int) ,public void writeValue(com.lealone.db.DataBuffer, com.lealone.db.value.Value) <variables>