/guava/android/guava/src/com/google/common/collect/ImmutableRangeSet.java
PeekingIterator<Range<C>> peekingItr = Iterators.emptyIterator( ) ;
PeekingIterator<Range<C>> peekingItr = Iterators.peekingIterator ( ranges.iterator ( ) ) ;
return this; } public ImmutableRangeSet<C> build() { ImmutableList.Builder<Range<C>> mergedRangesBuilder = new ImmutableList.Builder<>(ranges.size()); Collections.sort(ranges, Range.<C>rangeLexOrdering()); <extra_id_0> while (peekingItr.hasNext()) { Range<C> range = peekingItr.next(); while (peekingItr.hasNext()) { Range<C> nextRange = peekingItr.peek(); if (range.isConnected(nextRange)) { checkArgument(