Package org.apache.calcite.util
Class ImmutableIntList.AbstractIndexedListIterator<E>
- java.lang.Object
-
- com.google.common.collect.UnmodifiableIterator<E>
-
- com.google.common.collect.UnmodifiableListIterator<E>
-
- org.apache.calcite.util.ImmutableIntList.AbstractIndexedListIterator<E>
-
- Type Parameters:
E
- element type
- All Implemented Interfaces:
java.util.Iterator<E>
,java.util.ListIterator<E>
- Enclosing class:
- ImmutableIntList
private abstract static class ImmutableIntList.AbstractIndexedListIterator<E> extends com.google.common.collect.UnmodifiableListIterator<E>
Extension toUnmodifiableListIterator
that operates by index.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractIndexedListIterator(int size, int position)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract E
get(int index)
boolean
hasNext()
boolean
hasPrevious()
E
next()
int
nextIndex()
E
previous()
int
previousIndex()
-