Lines Matching refs:toKey
127 * {@code fromKey}, inclusive, to {@code toKey}, exclusive. (If
128 * {@code fromKey} and {@code toKey} are equal, the returned map
138 * @param toKey high endpoint (exclusive) of the keys in the returned map
140 * {@code fromKey}, inclusive, to {@code toKey}, exclusive
141 * @throws ClassCastException if {@code fromKey} and {@code toKey}
145 * exception if {@code fromKey} or {@code toKey}
147 * @throws NullPointerException if {@code fromKey} or {@code toKey}
150 * {@code toKey}; or if this map itself has a restricted
151 * range, and {@code fromKey} or {@code toKey} lies
154 SortedMap<K,V> subMap(K fromKey, K toKey);
158 * strictly less than {@code toKey}. The returned map is backed
166 * @param toKey high endpoint (exclusive) of the keys in the returned map
168 * less than {@code toKey}
169 * @throws ClassCastException if {@code toKey} is not compatible
171 * if {@code toKey} does not implement {@link Comparable}).
173 * exception if {@code toKey} cannot be compared to keys
175 * @throws NullPointerException if {@code toKey} is null and
178 * restricted range, and {@code toKey} lies outside the
181 SortedMap<K,V> headMap(K toKey);