Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenEndedGroup/Field2
/ isProgeny
Method
isProgeny
src/main/java/fieldbox/boxes/plugins/Variant.java:536–540 ·
view source on GitHub ↗
(Box x, Variant me)
Source
from the content-addressed store, hash-verified
534
}
535
536
private
boolean isProgeny(Box x, Variant me) {
537
return
me.breadthFirstAll(me.downwards())
538
.filter(y -> y != this)
539
.anyMatch(y -> y == x);
540
}
541
542
543
public
void
loaded() {
Callers
1
selectionOrAll
Method · 0.95
Calls
2
breadthFirstAll
Method · 0.80
downwards
Method · 0.80
Tested by
no test coverage detected