Exemplo n.º 1
0
 public void readData(ObjectDataInput in) throws IOException {
   int size = in.readInt();
   map = new HashMap<Data, Collection<Data>>(size);
   for (int i = 0; i < size; i++) {
     Data key = IOUtil.readData(in);
     int collSize = in.readInt();
     Collection coll = new ArrayList(collSize);
     for (int j = 0; j < collSize; j++) {
       coll.add(IOUtil.readData(in));
     }
     map.put(key, coll);
   }
 }
Exemplo n.º 2
0
 @Override
 public void readData(ObjectDataInput in) throws IOException {
   super.readData(in);
   dataKey = IOUtil.readData(in);
   dataNewValue = IOUtil.readNullableData(in);
   dataOldValue = IOUtil.readNullableData(in);
 }
Exemplo n.º 3
0
 protected void readInternal(ObjectDataInput in) throws IOException {
   super.readInternal(in);
   recordId = in.readLong();
   index = in.readInt();
   value = IOUtil.readData(in);
 }