TreeSet.headSet

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

  1. NavigableSet!(E) headSet(E toElement, bool inclusive)
  2. SortedSet!(E) headSet(E toElement)
    class TreeSet(E)
    headSet

Meta