MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / readExternal

Method readExternal

serialization/Blip3.java:29–35  ·  view source on GitHub ↗
(ObjectInput in)

Source from the content-addressed store, hash-verified

27 out.writeInt(i);
28 }
29 @Override public void readExternal(ObjectInput in)
30 throws IOException, ClassNotFoundException {
31 System.out.println("Blip3.readExternal");
32 // You must do this:
33 s = (String)in.readObject();
34 i = in.readInt();
35 }
36 public static void main(String[] args) {
37 System.out.println("Constructing objects:");
38 Blip3 b3 = new Blip3("A String ", 47);

Callers

nothing calls this directly

Calls 1

readObjectMethod · 0.80

Tested by

no test coverage detected