/guava/guava/src/com/google/common/collect/RegularContiguousSet.java
final C first = first( ) ;final C last = last( ) ;
final C last = last ( ) ;
int indexOf(@CheckForNull Object target) { return contains(target) ? (int) domain.distance(first(), (C) requireNonNull(target)) : -1; } @Override public UnmodifiableIterator<C> iterator() { return new AbstractSequentialIterator<C>(first()) { <extra_id_0> @Override @CheckForNull protected C computeNext(C previous) { return equalsOrThrow(previous, last) ? null : domain.next(previous); } };