public abstract class AbstractAcceptingRowIterator extends AbstractFilteringRowIterator
Constructor and Description |
---|
AbstractAcceptingRowIterator(RowIterator iterator) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
acceptable(int rowindex,
Row row)
My filtering method.
|
protected boolean |
determineNextRow() |
protected boolean |
determinePreviousRow() |
void |
set(Row row)
Not supported in the base implementation.
|
clearNextRow, clearPreviousRow, current, currentIndex, getDelegate, hasCurrent, hasNext, hasPrevious, isNextAvailable, isPreviousAvailable, next, nextIndex, previous, previousIndex, remove, reset, setNext, setPrevious
add, first, isEmpty, last, next, peekNext, peekPrevious, previous, size
public AbstractAcceptingRowIterator(RowIterator iterator)
public void set(Row row) throws AxionException
BaseRowIterator
set
in interface RowIterator
set
in class AbstractFilteringRowIterator
AxionException
protected abstract boolean acceptable(int rowindex, Row row) throws AxionException
true
if the given Row
should be
included in the iteration, false
otherwise.AxionException
protected boolean determineNextRow() throws AxionException
determineNextRow
in class AbstractFilteringRowIterator
AxionException
protected boolean determinePreviousRow() throws AxionException
determinePreviousRow
in class AbstractFilteringRowIterator
AxionException