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

Method findRecord

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

Source from the content-addressed store, hash-verified

325
326
327 static int findRecord(String path) {
328 for (int i = 0; i < records.size(); i++) {
329 if (path.equals(records.get(i).path)) {
330 return i;
331 }
332 }
333 return -1;
334 }
335
336
337// int findRecord(Record rec) {

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