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
Abstract implementation of
TupleIterator
.
Derived classes need to implement only TupleCursor.forward()
.
forward
must set the TupleCursor.current()
field, and derived classes can use it.
- Author:
- jhyde
-
Field Summary
Fields inherited from class mondrian.calc.impl.AbstractTupleCursor
arity
-
Constructor Summary
-
Method Summary
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
-
Field Details
-
hasNext
protected boolean hasNext
-
-
Constructor Details
-
AbstractTupleIterator
public AbstractTupleIterator(int arity)
-
-
Method Details