@Override public Double deserializeFromDirectMemory(ODirectMemory memory, long pointer) { return Double.longBitsToDouble(memory.getLong(pointer)); }
@Override public Boolean deserializeFromDirectMemory(ODirectMemory memory, long pointer) { return memory.getByte(pointer) > 0; }
@Override public void serializeInDirectMemory(Double object, ODirectMemory memory, long pointer) { memory.setLong(pointer, Double.doubleToLongBits(object)); }
@Override public void serializeInDirectMemory(Boolean object, ODirectMemory memory, long pointer) { memory.setByte(pointer, object ? (byte) 1 : 0); }