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

Method find

src/main/java/fieldnashorn/ErrorHelper.java:223–230  ·  view source on GitHub ↗
(Box origin, String uid)

Source from the content-addressed store, hash-verified

221 }
222
223 private Box find(Box origin, String uid) {
224 return origin.breadthFirst(origin.both())
225 .filter(x -> x.properties.has(IO.id))
226 .filter(x -> x.properties.get(IO.id)
227 .equals(uid))
228 .findFirst()
229 .orElse(null);
230 }
231
232 public List<String> editsOfString(String n) {
233

Callers 13

replaceBoxReferencesMethod · 0.95
NashornExecutionMethod · 0.45
writeMethod · 0.45
beginMethod · 0.45
completionMethod · 0.45
importsMethod · 0.45
replaceSyntaxLineSpecMethod · 0.45
replaceUndefinedMethod · 0.45
replaceMissingNewMethod · 0.45
replaceMissingRefsMethod · 0.45
forkMethod · 0.45

Calls 5

breadthFirstMethod · 0.80
getMethod · 0.65
bothMethod · 0.45
hasMethod · 0.45
equalsMethod · 0.45

Tested by

no test coverage detected