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

Method readObject

output/java_guava/1.4.17/TreeMultimap.java:258–266  ·  view source on GitHub ↗
(ObjectInputStream stream)

Source from the content-addressed store, hash-verified

256 }
257
258 @GwtIncompatible // java.io.ObjectInputStream
259 @SuppressWarnings("unchecked") // reading data stored by writeObject
260 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
261 stream.defaultReadObject();
262 keyComparator = checkNotNull((Comparator<? super K>) stream.readObject());
263 valueComparator = checkNotNull((Comparator<? super V>) stream.readObject());
264 setMap(new TreeMap<K, Collection<V>>(keyComparator));
265 Serialization.populateMultimap(this, stream);
266 }
267
268 @GwtIncompatible // not needed in emulated source
269 private static final long serialVersionUID = 0;

Callers

nothing calls this directly

Calls 3

populateMultimapMethod · 0.95
checkNotNullMethod · 0.45
setMapMethod · 0.45

Tested by

no test coverage detected