Package nz.org.riskscape.engine.sched
Class Page.ReadOnlyPage
java.lang.Object
nz.org.riskscape.engine.sched.Page.ReadOnlyPage
- All Implemented Interfaces:
AutoCloseable,Iterator<nz.org.riskscape.engine.Tuple>,nz.org.riskscape.engine.relation.TupleIterator
- Enclosing class:
- Page
public class Page.ReadOnlyPage
extends Object
implements nz.org.riskscape.engine.relation.TupleIterator
-
Field Summary
Fields inherited from interface nz.org.riskscape.engine.relation.TupleIterator
EMPTY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface nz.org.riskscape.engine.relation.TupleIterator
close, collect, forEachRemaining
-
Constructor Details
-
ReadOnlyPage
public ReadOnlyPage()
-
-
Method Details
-
next
public nz.org.riskscape.engine.Tuple next() -
peek
public nz.org.riskscape.engine.Tuple peek()- Returns:
- the Tuple in the page that will be read next.
-
hasNext
public boolean hasNext() -
toString
-
getTupleCount
public int getTupleCount()- Returns:
- the total number of Tuples to be read
-