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

Method readObject

serialization/SerialCtl.java:24–28  ·  view source on GitHub ↗
(ObjectInputStream stream)

Source from the content-addressed store, hash-verified

22 stream.writeObject(b);
23 }
24 private void readObject(ObjectInputStream stream)
25 throws IOException, ClassNotFoundException {
26 stream.defaultReadObject();
27 b = (String)stream.readObject();
28 }
29 public static void main(String[] args) {
30 SerialCtl sc = new SerialCtl("Test1", "Test2");
31 System.out.println("Before:\n" + sc);

Callers 13

mainMethod · 0.80
readExternalMethod · 0.80
mainMethod · 0.80
mainMethod · 0.80
mainMethod · 0.80
mainMethod · 0.80
mainMethod · 0.80
mainMethod · 0.80
mainMethod · 0.80
mainMethod · 0.80
fMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected