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

Method populateMultiset

output/java_guava/1.4.18/Serialization.java:121–124  ·  view source on GitHub ↗

Populates a multiset by reading an input stream, as part of deserialization. See #writeMultiset for the data format.

(Multiset<E> multiset, ObjectInputStream stream)

Source from the content-addressed store, hash-verified

119 */
120
121 static <E> void populateMultiset(Multiset<E> multiset, ObjectInputStream stream) throws IOException, ClassNotFoundException {
122 int distinctElements = stream.readInt();
123 populateMultiset(multiset, stream, distinctElements);
124 }
125
126 /**
127 * Populates a multiset by reading an input stream, as part of

Callers 4

readObjectMethod · 0.95
readObjectMethod · 0.95
readObjectMethod · 0.95
readObjectMethod · 0.95

Calls 3

readIntMethod · 0.65
addMethod · 0.65
readObjectMethod · 0.45

Tested by

no test coverage detected