MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / findCommand

Method findCommand

src/main/java/ui/controls/form/DefForm.java:130–141  ·  view source on GitHub ↗
(int type)

Source from the content-addressed store, hash-verified

128 }
129
130 MenuCommand findCommand(int type) {
131 int size = menuCommands.size();
132 for (int i = 0; i < size; i++) {
133 MenuCommand item = (MenuCommand) menuCommands.elementAt(i);
134 if (item != null) {
135 if (item.map == type) {
136 return (MenuCommand) menuCommands.elementAt(i);
137 }
138 }
139 }
140 return null;
141 }
142
143 public void captionPressed() {}
144

Callers 4

selectCommandMethod · 0.95
menuCommandMethod · 0.95
menuPressedMethod · 0.95
selectPressedMethod · 0.95

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected