pollFirstEntry

abstract 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 (optional operation).

Return

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

Throws

if the pollFirstEntry operation is not supported by this map