MCPcopy Index your code
hub / github.com/benfry/processing4 / read

Method read

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

Source from the content-addressed store, hash-verified

4355 }
4356
4357 void read(DataInputStream input) throws IOException {
4358 int count = input.readInt();
4359 //System.out.println("found " + count + " entries in category map");
4360 dataToIndex = new HashMap<>(count);
4361 for (int i = 0; i < count; i++) {
4362 String str = input.readUTF();
4363 //System.out.println(i + " " + str);
4364 dataToIndex.put(str, i);
4365 indexToData.add(str);
4366 }
4367 }
4368 }
4369
4370

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