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, 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
-
offset
private final int offset
-
-
Constructor Details
-
ArrayItr
ArrayItr(T[] array, int offset, int length, int index)
-
-
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>
-