MCPcopy Create free account
hub / github.com/antlr/codebuff / readObject

Method readObject

output/java_guava/1.4.19/EnumBiMap.java:144–154  ·  view source on GitHub ↗
(ObjectInputStream stream)

Source from the content-addressed store, hash-verified

142 }
143
144 @SuppressWarnings("unchecked") // reading fields populated by writeObject
145 @GwtIncompatible // java.io.ObjectInputStream
146 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
147 stream.defaultReadObject();
148 keyType = (Class<K>) stream.readObject();
149 valueType = (Class<V>) stream.readObject();
150 setDelegates(
151 WellBehavedMap.wrap(new EnumMap<K, V>(keyType)),
152 WellBehavedMap.wrap(new EnumMap<V, K>(valueType)));
153 Serialization.populateMap(this, stream);
154 }
155
156 @GwtIncompatible // not needed in emulated source.
157 private static final long serialVersionUID = 0;

Callers

nothing calls this directly

Calls 3

wrapMethod · 0.95
populateMapMethod · 0.95
setDelegatesMethod · 0.45

Tested by

no test coverage detected