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, setPreviousadd, first, isEmpty, last, next, peekNext, peekPrevious, previous, sizepublic AbstractAcceptingRowIterator(RowIterator iterator)
public void set(Row row) throws AxionException
BaseRowIteratorset in interface RowIteratorset in class AbstractFilteringRowIteratorAxionExceptionprotected abstract boolean acceptable(int rowindex,
Row row)
throws AxionException
true if the given Rowshould be
included in the iteration, false otherwise.AxionExceptionprotected boolean determineNextRow()
throws AxionException
determineNextRow in class AbstractFilteringRowIteratorAxionExceptionprotected boolean determinePreviousRow()
throws AxionException
determinePreviousRow in class AbstractFilteringRowIteratorAxionException