(boolean isAdmin, arc.func.Cons<Switcher> consumer)
| 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(); |
no outgoing calls
no test coverage detected