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

Method findMode

app/src/processing/app/Base.java:1120–1127  ·  view source on GitHub ↗
(String id)

Source from the content-addressed store, hash-verified

1118
1119
1120 protected Mode findMode(String id) {
1121 for (Mode mode : getModeList()) {
1122 if (mode.getIdentifier().equals(id)) {
1123 return mode;
1124 }
1125 }
1126 return null;
1127 }
1128
1129
1130 // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Callers 1

selectModeMethod · 0.95

Calls 3

getModeListMethod · 0.95
getIdentifierMethod · 0.80
equalsMethod · 0.45

Tested by

no test coverage detected