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

Method toCollection

src/main/java/field/app/ThreadSync.java:110–112  ·  view source on GitHub ↗
(Collection<V> to)

Source from the content-addressed store, hash-verified

108 }
109
110 static public <V> Consumer<V> toCollection(Collection<V> to) {
111 return (v) -> to.add(v);
112 }
113
114 static public Object yield(Object o) throws InterruptedException, Stop {
115 if (fiber.get() == null)

Callers 9

dispatchMethod · 0.80
dispatchMethod · 0.80
coallesceMethod · 0.80
selectionMethod · 0.80
TopologyMethod · 0.80
loadedMethod · 0.80
MocapClass · 0.80
runMethod · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected