headSet

open override fun headSet(toElement: E, inclusive: Boolean): NavigableSet<E>

Since

1.6

Throws

{@inheritDoc}

if toElement is null and this set uses natural ordering, or its comparator does not permit null elements


open override fun headSet(toElement: E): SortedSet<E>

Throws

{@inheritDoc}

if toElement is null and this set uses natural ordering, or its comparator does not permit null elements