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

Method resetIndices

core/src/processing/data/IntDict.java:157–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155
156
157 private void resetIndices() {
158 indices = new HashMap<>(count);
159 for (int i = 0; i < count; i++) {
160 indices.put(keys[i], i);
161 }
162 }
163
164
165 // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Callers 2

resizeMethod · 0.95
sortImplMethod · 0.95

Calls 1

putMethod · 0.45

Tested by

no test coverage detected