MCPcopy Create free account
hub / github.com/benfry/processing4 / crop

Method crop

core/src/processing/data/FloatDict.java:223–228  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

221
222
223 protected void crop() {
224 if (count != keys.length) {
225 keys = PApplet.subset(keys, 0, count);
226 values = PApplet.subset(values, 0, count);
227 }
228 }
229
230 /**
231 * Return the internal array being used to store the keys.

Callers 2

keyArrayMethod · 0.95
valueArrayMethod · 0.95

Calls 1

subsetMethod · 0.95

Tested by

no test coverage detected