public abstract class TransformingRowIterator extends DelegatingRowIterator
Constructor and Description |
---|
TransformingRowIterator(RowIterator iter) |
Modifier and Type | Method and Description |
---|---|
Row |
current()
Returns the last
Row returned by me (by RowIterator.next() ,RowIterator.previous() ,
RowIterator.first() ,RowIterator.last() , etc.). |
Row |
first()
|
Row |
last()
|
Row |
next()
|
Row |
peekNext()
Return the value that would be returned by a call to
RowIterator.next() , if any, but
don't update my position. |
Row |
peekPrevious()
Return the value that would be returned by a call to
RowIterator.previous() , if any,
but don't update my position. |
Row |
previous()
|
protected abstract Row |
transform(Row row) |
add, currentIndex, getDelegate, hasCurrent, hasNext, hasPrevious, isEmpty, next, nextIndex, previous, previousIndex, remove, reset, set, setDelegate, size
public TransformingRowIterator(RowIterator iter)
public Row current()
RowIterator
Row
returned by me (by RowIterator.next()
,RowIterator.previous()
,
RowIterator.first()
,RowIterator.last()
, etc.).current
in interface RowIterator
current
in class DelegatingRowIterator
public Row first() throws AxionException
RowIterator
Row
in the list, positioning the cursor to just before
the first Row
in the list. (In other words, after first
is
called both RowIterator.next()
and RowIterator.current()
will return the first row in the
list.)first
in interface RowIterator
first
in class DelegatingRowIterator
AxionException
- when a problem occurs accessing the Row
public Row last() throws AxionException
RowIterator
Row
in the list, positioning the cursor to just after the
last Row
in the list. (In other words, after last
is called
both RowIterator.previous()
and RowIterator.current()
will return the last row in the list.)last
in interface RowIterator
last
in class DelegatingRowIterator
AxionException
- when a problem occurs accessing the Row
public Row next() throws AxionException
RowIterator
next
in interface RowIterator
next
in class DelegatingRowIterator
AxionException
- when a problem occurs accessing the Row
public Row peekNext() throws AxionException
RowIterator
RowIterator.next()
, if any, but
don't update my position.peekNext
in interface RowIterator
peekNext
in class DelegatingRowIterator
AxionException
- when a problem occurs accessing the Row
public Row peekPrevious() throws AxionException
RowIterator
RowIterator.previous()
, if any,
but don't update my position.peekPrevious
in interface RowIterator
peekPrevious
in class DelegatingRowIterator
AxionException
- when a problem occurs accessing the Row
public Row previous() throws AxionException
RowIterator
previous
in interface RowIterator
previous
in class DelegatingRowIterator
AxionException
- when a problem occurs accessing the Row