示例#1
0
 @Override
 public void write(UUID obj, SerializationContext context) throws IOException {
   context.writeLong(obj.getMostSignificantBits());
   context.writeLong(obj.getLeastSignificantBits());
 }
示例#2
0
 @Override
 public void write(Long obj, SerializationContext context) throws IOException {
   context.writeLong(obj);
 }