toMap

abstract fun toMap(): Map<K, V>

Converts this cache to an immutable map