public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeLong(initRange); out.writeLong(finalRange); out.writeObject(paramText); out.writeBoolean(unwrapLeft); out.writeBoolean(unwrapRight); }
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); initRange = in.readLong(); finalRange = in.readLong(); paramText = (String) in.readObject(); unwrapLeft = in.readBoolean(); unwrapRight = in.readBoolean(); }