()
| 151 | } |
| 152 | |
| 153 | @Override |
| 154 | public Range<C> span() { |
| 155 | Entry<Cut<C>, Range<C>> firstEntry = rangesByLowerBound.firstEntry(); |
| 156 | Entry<Cut<C>, Range<C>> lastEntry = rangesByLowerBound.lastEntry(); |
| 157 | if (firstEntry == null) { |
| 158 | throw new NoSuchElementException(); |
| 159 | } |
| 160 | return Range.create(firstEntry.getValue().lowerBound, lastEntry.getValue().upperBound); |
| 161 | } |
| 162 | |
| 163 | @Override |
| 164 | public void add(Range<C> rangeToAdd) { |
nothing calls this directly
no test coverage detected