(Node<K, V> x)
| 1419 | } |
| 1420 | |
| 1421 | static <K,V> Node<K, V> maximum(Node<K, V> x) { |
| 1422 | if (x == null) { |
| 1423 | return null; |
| 1424 | } |
| 1425 | while (x.right != null) { |
| 1426 | x = x.right; |
| 1427 | } |
| 1428 | return x; |
| 1429 | } |
| 1430 | |
| 1431 | /** |
| 1432 | * Maps the specified key to the specified value. |