예제 #1
0
 @Override
 public void writeTo(StreamOutput out) throws IOException {
   out.writeByte(unit.id());
   out.writeSharedString(preTz.getID());
   out.writeSharedString(postTz.getID());
 }
예제 #2
0
 @Override
 public void writeTo(StreamOutput out) throws IOException {
   out.writeByte(unit.id());
 }