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

Method map

src/main/java/trace/video/SimpleAnalysis.kt:19–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 }
18
19 fun map(x: java.util.function.Function<List<Float>, Number?>): List<Int> {
20 return data.mapIndexed { i, d -> i to x.apply(d) }.filter { it.second != null }.sortedBy { it.second!!.toDouble() }.map { it.first }
21 }
22}

Callers 9

readerMethod · 0.45
SimpleAnalysisClass · 0.45
getAnalysisMethod · 0.45
changeDirectoryMethod · 0.45
mapFromDirectoryMethod · 0.45
performMethod · 0.45
performMethod · 0.45
performMethod · 0.45
performMethod · 0.45

Calls 1

applyMethod · 0.65

Tested by

no test coverage detected