()
| 4214 | /// |
| 4215 | /// - `NoSuchElementException`: if this map is empty. |
| 4216 | public K firstKey() { |
| 4217 | if (root != null) { |
| 4218 | Node<K, V> node = minimum(root); |
| 4219 | return node.keys[node.left_idx]; |
| 4220 | } |
| 4221 | throw new NoSuchElementException(); |
| 4222 | } |
| 4223 | |
| 4224 | Node<K, V> findNode(K key) { |
| 4225 | java.lang.Comparable<K> object = comparator == null ? toComparable((K) key) |