(K key)
| 434 | } |
| 435 | |
| 436 | private boolean checkUpperBound(K key) { |
| 437 | if (hasEnd) { |
| 438 | Comparator<? super K> cmp = backingMap.comparator; |
| 439 | if (cmp == null) { |
| 440 | return (toComparable(key).compareTo(endKey) < 0); |
| 441 | } |
| 442 | return (cmp.compare(key, endKey) < 0); |
| 443 | } |
| 444 | return true; |
| 445 | } |
| 446 | |
| 447 | private boolean checkLowerBound(K key) { |
| 448 | if (hasStart) { |
no test coverage detected