Пример #1
0
 @Override
 protected void readInternal(ObjectDataInput in) throws IOException {
   super.readInternal(in);
   entryProcessor = in.readObject();
   int size = in.readInt();
   keys = new HashSet<Data>(size);
   for (int i = 0; i < size; i++) {
     Data key = in.readData();
     keys.add(key);
   }
 }
 @Override
 protected void readInternal(ObjectDataInput in) throws IOException {
   super.readInternal(in);
   entryProcessor = in.readObject();
 }