public Object getElement() {
return value;
}
public byte[] asBytes() throws IOException {
FastOutputStream buffer = new FastOutputStream();
DataOutputStream out = new DataOutputStream(buffer);
out.writeLong(unwrapLong(previousKey));
out.writeLong(unwrapLong(nextKey));
out.writeUTF((String) value);
return buffer.toByteArray();
}