(Stream<Box> selected)
| 124 | } |
| 125 | |
| 126 | private String name(Stream<Box> selected) { |
| 127 | if (selected.filter(x -> !(x instanceof DispatchBox) && !(x instanceof PadsBox) && !(x instanceof TopologyBox)).count() > 0) |
| 128 | return "box"; |
| 129 | else |
| 130 | return "connection"; |
| 131 | } |
| 132 | |
| 133 | private void recursivelyHideFrom(Stream<Box> selected) { |
| 134 | selected.flatMap(x -> x.breadthFirst(x.downwards()) |
no test coverage detected