(K key)
| 1027 | } |
| 1028 | |
| 1029 | private boolean tooHigh(K key) { |
| 1030 | if (hi != null) { |
| 1031 | int c = m.comparator().compare(key, hi); |
| 1032 | if (c > 0 || (c == 0 && !hiInclusive)) |
| 1033 | return true; |
| 1034 | } |
| 1035 | return false; |
| 1036 | } |
| 1037 | |
| 1038 | private boolean inBounds(K key) { |
| 1039 | return !tooLow(key) && !tooHigh(key); |
no test coverage detected