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 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 |
protected boolean |
hasNext
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hasNext
protected boolean hasNext
AbstractTupleIterator
public AbstractTupleIterator(int arity)
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<List<Member>>
next
public List<Member> next()
- Specified by:
next in interface Iterator<List<Member>>
remove
public void remove()
- Specified by:
remove in interface Iterator<List<Member>>