@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();
 }
Example #3
0
 /** {@inheritDoc} */
 @Override
 public LogKey entryToObject(TupleInput arg0) {
   final LogKey key = new LogKey(arg0.readBoolean(), arg0.readInt(), arg0.readLong());
   return key;
 }
Example #4
0
 public Odds read(TupleInput tupleInput) {
   return new Odds(tupleInput.readLong(), tupleInput.readLong(), tupleInput.readLong());
 }