/guava/guava/src/com/google/common/collect/ImmutableRangeSet.java
checkElementIndex( index) ;
checkElementIndex ( index, length ) ;
@Override public int size() { return length; } @Override public Range<C> get(int index) { <extra_id_0> if (index == 0 || index == length - 1) { return ranges.get(index + fromIndex).intersection(range); } else { return ranges.get(index + fromIndex); } }