예제 #1
0
 @Override
 public List<UUID> entryToObject(TupleInput ti) {
   int size = ti.readShort();
   List<UUID> uuidList = new ArrayList<>(size);
   for (int i = 0; i < size; i++) {
     uuidList.add(new UUID(ti.readLong(), ti.readLong()));
   }
   return uuidList;
 }
 @Override
 protected void readMemberFields(TupleInput input) {
   longValue = input.readLong();
 }
예제 #3
0
 /** {@inheritDoc} */
 @Override
 public LogKey entryToObject(TupleInput arg0) {
   final LogKey key = new LogKey(arg0.readBoolean(), arg0.readInt(), arg0.readLong());
   return key;
 }
예제 #4
0
 public Odds read(TupleInput tupleInput) {
   return new Odds(tupleInput.readLong(), tupleInput.readLong(), tupleInput.readLong());
 }