MCPcopy Index your code
hub / github.com/processing/processing / read

Method read

core/src/processing/data/Table.java:4258–4268  ·  view source on GitHub ↗
(DataInputStream input)

Source from the content-addressed store, hash-verified

4256 }
4257
4258 void read(DataInputStream input) throws IOException {
4259 int count = input.readInt();
4260 //System.out.println("found " + count + " entries in category map");
4261 dataToIndex = new HashMap<>(count);
4262 for (int i = 0; i < count; i++) {
4263 String str = input.readUTF();
4264 //System.out.println(i + " " + str);
4265 dataToIndex.put(str, i);
4266 indexToData.add(str);
4267 }
4268 }
4269 }
4270
4271

Callers 2

HashMapBlowsMethod · 0.95
parseMethod · 0.45

Calls 3

readIntMethod · 0.80
putMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected