Package com.google.common.collect
Class Iterators.ArrayItr<T>
java.lang.Object
com.google.common.collect.UnmodifiableIterator<T>
com.google.common.collect.UnmodifiableListIterator<T>
com.google.common.collect.AbstractIndexedListIterator<T>
com.google.common.collect.Iterators.ArrayItr<T>
- All Implemented Interfaces:
Iterator<T>,ListIterator<T>
- Enclosing class:
Iterators
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final T[](package private) static final UnmodifiableListIterator<Object> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.collect.AbstractIndexedListIterator
hasNext, hasPrevious, next, nextIndex, previous, previousIndexMethods inherited from class com.google.common.collect.UnmodifiableListIterator
add, setMethods inherited from class com.google.common.collect.UnmodifiableIterator
removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemainingMethods inherited from interface java.util.ListIterator
remove
-
Field Details
-
EMPTY
-
array
-
-
Constructor Details
-
ArrayItr
ArrayItr(T[] array, int position)
-
-
Method Details
-
get
Description copied from class:AbstractIndexedListIteratorReturns the element with the specified index. This method is called byAbstractIndexedListIterator.next().- Specified by:
getin classAbstractIndexedListIterator<T>
-