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, previousIndex
Methods inherited from class com.google.common.collect.UnmodifiableListIterator
add, set
Methods inherited from class com.google.common.collect.UnmodifiableIterator
remove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
Methods 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:AbstractIndexedListIterator
Returns the element with the specified index. This method is called byAbstractIndexedListIterator.next()
.- Specified by:
get
in classAbstractIndexedListIterator<T>
-