headMap

open override fun headMap(toKey: K, inclusive: Boolean): NavigableMap<K, V>

Since

1.6

Throws

{@inheritDoc}

if toKey is null and this map uses natural ordering, or its comparator does not permit null keys


open override fun headMap(toKey: K): SortedMap<K, V>

{@inheritDoc}

Equivalent to headMap(toKey, false).

Throws