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}

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

Meta