TreeSet.subSet

@throws ClassCastException {@inheritDoc} @throws NullPointerException if {@code fromElement} or {@code toElement} is null and this set uses natural ordering, or its comparator does not permit null elements @throws IllegalArgumentException {@inheritDoc}

  1. NavigableSet!(E) subSet(E fromElement, bool fromInclusive, E toElement, bool toInclusive)
    class TreeSet(E)
  2. SortedSet!(E) subSet(E fromElement, E toElement)

Meta