MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / name

Method name

src/main/java/fieldbox/boxes/plugins/Delete.java:126–131  ·  view source on GitHub ↗
(Stream<Box> selected)

Source from the content-addressed store, hash-verified

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())

Callers 4

DeleteMethod · 0.95
connectMethod · 0.45
indexSrcZipMethod · 0.45
registerCommandsMethod · 0.45

Calls 1

countMethod · 0.80

Tested by

no test coverage detected