4 public class OOSExtern
extends OOSNoCallDefault
implements Externalizable
9 OOSExtern( int X
, String S
, boolean B
)
14 public void writeExternal( ObjectOutput oo
) throws IOException
16 oo
.writeInt( super.x
);
17 oo
.writeObject( super.s
);
18 oo
.writeBoolean( super.b
);
21 public void readExternal( ObjectInput oi
)
22 throws ClassNotFoundException
, IOException
24 super.x
= oi
.readInt();
25 super.s
= (String
)oi
.readObject();
26 super.b
= oi
.readBoolean();
29 public boolean equals( Object o
)
31 OOSExtern e
= (OOSExtern
)o
;
33 && e
.s
.equals( super.s
)