MCPcopy Create free account
hub / github.com/ZetaMap/MoreCommands / each

Method each

src/main/java/data/Switcher.java:141–144  ·  view source on GitHub ↗
(boolean isAdmin, arc.func.Cons<Switcher> consumer)

Source from the content-addressed store, hash-verified

139 }
140
141 public static void each(boolean isAdmin, arc.func.Cons<Switcher> consumer) {
142 if (isAdmin) ordonedList.each(consumer);
143 else ordonedList.select(s -> !s.forAdmin).each(consumer);
144 }
145
146 public static boolean isEmpty() {
147 return list.isEmpty();

Callers 3

loadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected