Package mondrian.calc.impl
Class AbstractTupleIterator
- java.lang.Object
-
- mondrian.calc.impl.AbstractTupleCursor
-
- mondrian.calc.impl.AbstractTupleIterator
-
- All Implemented Interfaces:
Iterator<List<Member>>
,TupleCursor
,TupleIterator
public abstract class AbstractTupleIterator extends AbstractTupleCursor implements TupleIterator
Abstract implementation ofTupleIterator
.Derived classes need to implement only
TupleCursor.forward()
.forward
must set theTupleCursor.current()
field, and derived classes can use it.- Author:
- jhyde
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
hasNext
-
Fields inherited from class mondrian.calc.impl.AbstractTupleCursor
arity
-
-
Constructor Summary
Constructors Constructor Description AbstractTupleIterator(int arity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
List<Member>
next()
void
remove()
-
Methods inherited from class mondrian.calc.impl.AbstractTupleCursor
currentToArray, getArity, member, setContext
-
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 mondrian.calc.TupleCursor
current, currentToArray, forward, getArity, member, setContext
-
-