pollFirstEntry

open override fun pollFirstEntry(): Map.Entry<K, V>?

Removes and returns a key-value mapping associated with the least key in this map, or null if the map is empty.

Return

the removed first entry of this map, or null if the map is empty