entries
All entries of this map.
Calling from Kotlin
Here's an example of calling this property from Kotlin code:
val map: NotEmptyMap<Char, Int> = notEmptyMapOf('a' to 1, 'b' to 2)
val entries: NotEmptySet<Map.Entry<Char, Int>> = map.entries
assertEquals(expected = "[a=1, b=2]", actual = "$entries")
Content copied to clipboard