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

Method getGroup

src/main/java/Client/Groups.java:120–128  ·  view source on GitHub ↗
(int type)

Source from the content-addressed store, hash-verified

118 }
119
120 public Group getGroup(int type) {
121 for (Enumeration e = groups.elements(); e.hasMoreElements();) {
122 Group grp = (Group) e.nextElement();
123 if (grp.type == type) {
124 return grp;
125 }
126 }
127 return null;
128 }
129
130 public Enumeration elements() {
131 return groups.elements();

Callers 7

blockArrivedMethod · 0.95
SearchResultMethod · 0.45
blockArrivedMethod · 0.45
updateContactMethod · 0.45
getContactMethod · 0.45
runMethod · 0.45
cmdOkMethod · 0.45

Calls 2

elementsMethod · 0.80
equalsMethod · 0.45

Tested by

no test coverage detected