Пример #1
0
 protected void readInternal(ObjectDataInput in) throws IOException {
   super.readInternal(in);
   index = in.readInt();
   value = in.readData();
 }
Пример #2
0
 protected void writeInternal(ObjectDataOutput out) throws IOException {
   super.writeInternal(out);
   out.writeInt(index);
   out.writeData(value);
 }