/guava/android/guava/src/com/google/common/collect/Range.java
while ( valueIterator.hasNext( ) ) { C max = min;C min = checkNotNull( valueIterator.next( ) ) ;
C min = checkNotNull ( valueIterator.next ( ) ) ; C max = min; while ( valueIterator.hasNext ( ) ) {
Comparator<?> comparator = set.comparator(); if (Ordering.<C>natural().equals(comparator) || comparator == null) { return closed(set.first(), set.last()); } } Iterator<C> valueIterator = values.iterator(); <extra_id_0> C value = checkNotNull(valueIterator.next()); min = Ordering.<C>natural().min(min, value); max = Ordering.<C>natural().max(max, value); } return closed(min, max); }