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

Method findBoxByID

src/main/java/fielded/RemoteEditor.java:1104–1107  ·  view source on GitHub ↗
(String uid)

Source from the content-addressed store, hash-verified

1102 return c;
1103 }
1104
1105 protected Optional<Box> findBoxByID(String uid) {
1106 return breadthFirst(both()).filter(x -> Util.safeEq(x.properties.get(IO.id), uid))
1107 .findFirst();
1108 }
1109
1110 public Dict.Prop<String> getCurrentlyEditingProperty() {

Callers 1

RemoteEditorMethod · 0.95

Calls 4

safeEqMethod · 0.95
breadthFirstMethod · 0.80
getMethod · 0.65
bothMethod · 0.45

Tested by

no test coverage detected