コード例 #1
0
 @Override
 public void fromData(DataInput in) throws IOException, ClassNotFoundException {
   super.fromData(in);
   this.attributeCode = in.readByte();
   this.newValue = in.readInt();
   this.cacheId = in.readInt();
 }
コード例 #2
0
 @Override
 public void toData(DataOutput out) throws IOException {
   super.toData(out);
   out.writeByte(this.attributeCode);
   out.writeInt(this.newValue);
   out.writeInt(this.cacheId);
 }