Returns a sorted map over a range of this sorted map with all keys that are greater than or equal to the specified startKey. Changes to the returned sorted map are reflected in this sorted map and vice versa. Note: The returned map will not allow an insertion of a key outside the specifi
(K startKey)
| 2325 | * and the specified key is outside of its range. |
| 2326 | */ |
| 2327 | public SortedMap<K, V> tailMap(K startKey) { |
| 2328 | // Check for errors |
| 2329 | if (comparator == null) { |
| 2330 | toComparable(startKey).compareTo(startKey); |
| 2331 | } else { |
| 2332 | comparator.compare(startKey, startKey); |
| 2333 | } |
| 2334 | return new SubMap<K, V>(startKey, this); |
| 2335 | } |
| 2336 | |
| 2337 | /** |
| 2338 | * Returns a collection of the values contained in this map. The collection |
nothing calls this directly
no test coverage detected