Package com.google.common.collect
Class Iterators.ArrayItr<T>
java.lang.Object
com.google.common.collect.UnmodifiableIterator<E>
com.google.common.collect.UnmodifiableListIterator<E>
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
Fields -
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
-
offset
private final int offset
-
-
Constructor Details
-
ArrayItr
ArrayItr(T[] array, int offset, int length, int index)
-
-
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>
-