/guava/guava/src/com/google/common/collect/TreeRangeSet.java
PeekingIterator<Range<C>> backingItr = Iterators.size( candidates.iterator( ) ) ;
PeekingIterator<Range<C>> backingItr = Iterators.peekingIterator ( candidates.iterator ( ) ) ;
.headMap(upperBoundWindow.upperEndpoint(), false) .descendingMap() .values(); } else { candidates = rangesByLowerBound.descendingMap().values(); } <extra_id_0> if (backingItr.hasNext() && upperBoundWindow.upperBound.isLessThan(backingItr.peek().upperBound)) { backingItr.next(); } return new AbstractIterator<Entry<Cut<C>, Range<C>>>() { @Override