(String name)
| 119 | } |
| 120 | |
| 121 | public static Switcher getByName(String name) { |
| 122 | return list.get(Strings.stripGlyphs(Strings.stripColors(name.replace('_', ' '))).strip().toLowerCase()); |
| 123 | } |
| 124 | |
| 125 | public static Switcher getByIP(String ip) { |
| 126 | return ordonedList.find(i -> ip.equals(i.address())); |
no test coverage detected