I have a Java function which I converted to Kotlin...
# announcements
s
I have a Java function which I converted to Kotlin:
fun getInferredCurrentCompanies(memberPositions: Map<Urn, Set<Long>>):
But I can't seem to do much with the memberPositions value. For instance, I'm trying to map over all the keys, and was expecting this to work:
memberPositions.keys.map { }
but the
map
is not picked up as a function on the
Set<Urn>
. In fact, there only seem to be 6 functions on Set that I can use.