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

Method call

src/main/java/fieldbox/boxes/Callbacks.java:66–77  ·  view source on GitHub ↗
(Box from, Dict.Prop<IdempotencyMap<Box.FunctionOfBox>> prop)

Source from the content-addressed store, hash-verified

64 .autoConstructs(() -> new IdempotencyMap<>(Box.FunctionOfBox.class)).set(Dict
65 .readOnly, true);
66
67
68 static public void call(Box from, Dict.Prop<IdempotencyMap<Box.FunctionOfBox>> prop) {
69 Set<String> seen = new LinkedHashSet<>();
70 from.breadthFirst(from.upwards())
71 .map(x -> x.properties.get(prop))
72 .filter(x -> x != null)
73 .flatMap(x -> x.entrySet()
74 .stream())
75 .forEach(x -> {
76 if (seen.add(x.getKey()))
77 x.getValue().apply(from);
78 });
79 }
80

Callers 9

DefaultMenusMethod · 0.95
asMap_callMethod · 0.95
transitionMethod · 0.95
deleteMethod · 0.95
loadMethod · 0.95
RemoteEditorMethod · 0.95
loadedMethod · 0.95
executeAndReturnMethod · 0.95
beginMethod · 0.95

Calls 15

convertMethod · 0.95
asMap_setMethod · 0.95
logMethod · 0.95
breadthFirstMethod · 0.80
upwardsMethod · 0.80
countMethod · 0.80
isTrueMethod · 0.80
firstMethod · 0.80
putAllMethod · 0.80
tryToReportToMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected