subSet

open override fun subSet(fromElement: E, fromInclusive: Boolean, toElement: E, toInclusive: Boolean): NavigableSet<E>

Since

1.6

Throws

{@inheritDoc}

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


open override fun subSet(fromElement: E, toElement: E): SortedSet<E>

Throws

{@inheritDoc}

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