Lines Matching defs:key

44  * greater than or equal, and greater than a given key, returning
45 * {@code null} if there is no such key. Similarly, methods
51 * ascending or descending key order. The {@code descendingMap}
97 * Returns a key-value mapping associated with the greatest key
98 * strictly less than the given key, or {@code null} if there is
99 * no such key.
101 * @param key the key
102 * @return an entry with the greatest key less than {@code key},
103 * or {@code null} if there is no such key
104 * @throws ClassCastException if the specified key cannot be compared
106 * @throws NullPointerException if the specified key is null
109 Map.Entry<K,V> lowerEntry(K key);
112 * Returns the greatest key strictly less than the given key, or
113 * {@code null} if there is no such key.
115 * @param key the key
116 * @return the greatest key less than {@code key},
117 * or {@code null} if there is no such key
118 * @throws ClassCastException if the specified key cannot be compared
120 * @throws NullPointerException if the specified key is null
123 K lowerKey(K key);
126 * Returns a key-value mapping associated with the greatest key
127 * less than or equal to the given key, or {@code null} if there
128 * is no such key.
130 * @param key the key
131 * @return an entry with the greatest key less than or equal to
132 * {@code key}, or {@code null} if there is no such key
133 * @throws ClassCastException if the specified key cannot be compared
135 * @throws NullPointerException if the specified key is null
138 Map.Entry<K,V> floorEntry(K key);
141 * Returns the greatest key less than or equal to the given key,
142 * or {@code null} if there is no such key.
144 * @param key the key
145 * @return the greatest key less than or equal to {@code key},
146 * or {@code null} if there is no such key
147 * @throws ClassCastException if the specified key cannot be compared
149 * @throws NullPointerException if the specified key is null
152 K floorKey(K key);
155 * Returns a key-value mapping associated with the least key
156 * greater than or equal to the given key, or {@code null} if
157 * there is no such key.
159 * @param key the key
160 * @return an entry with the least key greater than or equal to
161 * {@code key}, or {@code null} if there is no such key
162 * @throws ClassCastException if the specified key cannot be compared
164 * @throws NullPointerException if the specified key is null
167 Map.Entry<K,V> ceilingEntry(K key);
170 * Returns the least key greater than or equal to the given key,
171 * or {@code null} if there is no such key.
173 * @param key the key
174 * @return the least key greater than or equal to {@code key},
175 * or {@code null} if there is no such key
176 * @throws ClassCastException if the specified key cannot be compared
178 * @throws NullPointerException if the specified key is null
181 K ceilingKey(K key);
184 * Returns a key-value mapping associated with the least key
185 * strictly greater than the given key, or {@code null} if there
186 * is no such key.
188 * @param key the key
189 * @return an entry with the least key greater than {@code key},
190 * or {@code null} if there is no such key
191 * @throws ClassCastException if the specified key cannot be compared
193 * @throws NullPointerException if the specified key is null
196 Map.Entry<K,V> higherEntry(K key);
199 * Returns the least key strictly greater than the given key, or
200 * {@code null} if there is no such key.
202 * @param key the key
203 * @return the least key greater than {@code key},
204 * or {@code null} if there is no such key
205 * @throws ClassCastException if the specified key cannot be compared
207 * @throws NullPointerException if the specified key is null
210 K higherKey(K key);
213 * Returns a key-value mapping associated with the least
214 * key in this map, or {@code null} if the map is empty.
216 * @return an entry with the least key,
222 * Returns a key-value mapping associated with the greatest
223 * key in this map, or {@code null} if the map is empty.
225 * @return an entry with the greatest key,
231 * Removes and returns a key-value mapping associated with
232 * the least key in this map, or {@code null} if the map is empty.
240 * Removes and returns a key-value mapping associated with
241 * the greatest key in this map, or {@code null} if the map is empty.
307 * on an attempt to insert a key outside of its range, or to construct a
342 * on an attempt to insert a key outside its range.
371 * on an attempt to insert a key outside its range.