/guava/guava/src/com/google/common/collect/Iterators.java
Preconditions.checkPositionIndex( position, array) ;
Preconditions.checkPositionIndex ( position, array.length ) ;
public static <T extends @Nullable Object> UnmodifiableIterator<T> forArray(T... array) { return forArrayWithPosition(array, 0); } static <T extends @Nullable Object> UnmodifiableListIterator<T> forArrayWithPosition( T[] array, int position) { if (array.length == 0) { <extra_id_0> return emptyListIterator(); } return new ArrayItr<>(array, position); } private static final class ArrayItr<T extends @Nullable Object> extends AbstractIndexedListIterator<T> {