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

Method getIndex

app/src/processing/app/Platform.java:240–243  ·  view source on GitHub ↗
(String what)

Source from the content-addressed store, hash-verified

238
239
240 static public int getIndex(String what) {
241 Integer entry = platformIndices.get(what);
242 return (entry == null) ? -1 : entry.intValue();
243 }
244
245
246 // These were changed to no longer rely on PApplet and PConstants because

Callers 4

CommanderMethod · 0.95
exportApplicationMethod · 0.95
fireInsertUpdateMethod · 0.45
fireRemoveUpdateMethod · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected