(Device d)
| 82 | } |
| 83 | |
| 84 | public void removeChildDevice(Device d) { |
| 85 | if (d == null) { |
| 86 | return; |
| 87 | } |
| 88 | children.remove(d); |
| 89 | d.suspend(); |
| 90 | d.detach(); |
| 91 | childrenArray = children.toArray(Device[]::new); |
| 92 | updateTickHandler(); |
| 93 | } |
| 94 | |
| 95 | public void addAllDevices(Iterable<Device> devices) { |
| 96 | devices.forEach(this::addChildDevice); |
no test coverage detected