@Override
 protected void readInternal(ObjectDataInput in) throws IOException {
   super.readInternal(in);
   index = in.readInt();
 }
 @Override
 protected void writeInternal(ObjectDataOutput out) throws IOException {
   super.writeInternal(out);
   out.writeInt(index);
 }