TreeMap.headMap

@throws ClassCastException {@inheritDoc} @throws NullPointerException if {@code toKey} is null and this map uses natural ordering, or its comparator does not permit null keys @throws IllegalArgumentException {@inheritDoc} @since 1.6

  1. NavigableMap!(K, V) headMap(K toKey, bool inclusive)
    class TreeMap(K, V)
    headMap
    (,)
  2. SortedMap!(K, V) headMap(K toKey)

Meta