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

Method findRecord

app/src/processing/app/ui/Recent.java:268–275  ·  view source on GitHub ↗
(String path)

Source from the content-addressed store, hash-verified

266
267
268 static int findRecord(String path) {
269 for (int i = 0; i < records.size(); i++) {
270 if (path.equals(records.get(i).path)) {
271 return i;
272 }
273 }
274 return -1;
275 }
276
277
278 static class Record {

Callers 2

removeMethod · 0.95
renameMethod · 0.95

Calls 3

getMethod · 0.65
sizeMethod · 0.45
equalsMethod · 0.45

Tested by

no test coverage detected