rafal
val res = mutableListOf<HashEntry>() nodes.forEach { n -> (0..replicaCount) .map { "" + it + n } .mapTo(res) { HashEntry(hash(it), n) } }