Lines Matching refs:toKey

2070      * @throws NullPointerException if {@code fromKey} or {@code toKey} is null
2075 K toKey,
2077 if (fromKey == null || toKey == null)
2080 (this, fromKey, fromInclusive, toKey, toInclusive, false);
2085 * @throws NullPointerException if {@code toKey} is null
2088 public ConcurrentNavigableMap<K,V> headMap(K toKey,
2090 if (toKey == null)
2093 (this, null, false, toKey, inclusive, false);
2111 * @throws NullPointerException if {@code fromKey} or {@code toKey} is null
2114 public ConcurrentNavigableMap<K,V> subMap(K fromKey, K toKey) {
2115 return subMap(fromKey, true, toKey, false);
2120 * @throws NullPointerException if {@code toKey} is null
2123 public ConcurrentNavigableMap<K,V> headMap(K toKey) {
2124 return headMap(toKey, false);
2616 K toKey, boolean toInclusive,
2619 if (fromKey != null && toKey != null &&
2620 cpr(cmp, fromKey, toKey) > 0)
2624 this.hi = toKey;
2942 K toKey, boolean toInclusive) {
2946 fromKey = toKey;
2947 toKey = tk;
2964 if (toKey == null) {
2965 toKey = hi;
2969 int c = cpr(cmp, toKey, hi);
2975 toKey, toInclusive, isDescending);
2979 K toKey, boolean toInclusive) {
2980 if (fromKey == null || toKey == null)
2982 return newSubMap(fromKey, fromInclusive, toKey, toInclusive);
2985 public SubMap<K,V> headMap(K toKey, boolean inclusive) {
2986 if (toKey == null)
2988 return newSubMap(null, false, toKey, inclusive);
2997 public SubMap<K,V> subMap(K fromKey, K toKey) {
2998 return subMap(fromKey, true, toKey, false);
3001 public SubMap<K,V> headMap(K toKey) {
3002 return headMap(toKey, false);