예제 #1
0
 @Override
 protected void readInternal(ObjectDataInput in) throws IOException {
   super.readInternal(in);
   index = in.readInt();
 }
예제 #2
0
 @Override
 protected void writeInternal(ObjectDataOutput out) throws IOException {
   super.writeInternal(out);
   out.writeInt(index);
 }