Пример #1
0
 public Object shallowClone() {
   SlotChange sc = new SlotChange(0);
   sc.newSlot(_newSlot);
   return super.shallowCloneInternal(sc);
 }
Пример #2
0
 public Object read(ByteArrayBuffer reader) {
   SlotChange change = new SlotChange(reader.readInt());
   Slot newSlot = new Slot(reader.readInt(), reader.readInt());
   change.newSlot(newSlot);
   return change;
 }