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

Method readCount

output/java_guava/1.4.17/Serialization.java:51–53  ·  view source on GitHub ↗

Reads a count corresponding to a serialized map, multiset, or multimap. It returns the size of a map serialized by #writeMap(Map, ObjectOutputStream), the number of distinct elements in a multiset serialized by #writeMultiset(Multiset, ObjectOutputStream), or the number of distinct k

(ObjectInputStream stream)

Source from the content-addressed store, hash-verified

49 */
50
51 static int readCount(ObjectInputStream stream) throws IOException {
52 return stream.readInt();
53 }
54
55 /**
56 * Stores the contents of a map in an output stream, as part of serialization.

Callers 5

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

Calls 1

readIntMethod · 0.65

Tested by

no test coverage detected