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

Method add

app/src/processing/app/syntax/KeywordMap.java:124–128  ·  view source on GitHub ↗

Adds a key-value mapping. @param keyword The key @param id The value

(String keyword, byte id, boolean paren)

Source from the content-addressed store, hash-verified

122 * @param id The value
123 */
124 public void add(String keyword, byte id, boolean paren) {
125 int key = getStringMapKey(keyword);
126 Keyword[] map = paren ? parenMap : literalMap;
127 map[key] = new Keyword(keyword.toCharArray(), id, map[key]);
128 }
129
130
131 /**

Callers 15

addPackageListMethod · 0.45
discoverMethod · 0.45
listMethod · 0.45
rebuildLibraryListMethod · 0.45
rebuildToolbarMenuMethod · 0.45
rebuildImportMenuMethod · 0.45
rebuildContribModesMethod · 0.45
initInternalToolMethod · 0.45
populateToolsMenuMethod · 0.45
getModeListMethod · 0.45
promptForModeMethod · 0.45
handleOpenMethod · 0.45

Calls 1

getStringMapKeyMethod · 0.95

Tested by

no test coverage detected