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

Method make

src/main/java/trace/sound/OSCIn.kt:16–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14class OSCIn(val p: Int) {
15
16 companion object {
17 val portage = mutableMapOf<Int, OSCPortIn>()
18
19 fun make(p: Int): OSCPortIn = portage.computeIfAbsent(p) {
20 val o = OSCPortIn(it)
21 o.startListening()
22 o
23 }

Callers 2

infer.jsFile · 0.45
recursiveFunction · 0.45

Calls 1

computeIfAbsentMethod · 0.80

Tested by

no test coverage detected