public class FilteringChangingIndexedRowIterator extends FilteringRowIterator implements MutableIndexedRowIterator
Constructor and Description |
---|
FilteringChangingIndexedRowIterator(MutableIndexedRowIterator iterator,
RowDecorator decorator,
Selectable where) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getShortName() |
boolean |
hasNext()
Returns
true if I have more Row s when traversing the list
in the forward direction. |
boolean |
hasPrevious()
Returns
true if I have more Row s when traversing the list
in the reverse direction. |
boolean |
indexSet() |
boolean |
isEmpty()
Returns
true if there are no rows to report with this iterator. |
void |
removeIndexKey() |
void |
reset()
Re-initialize this
RowIterator to its initial state (positioned just
before the first Row in the list). |
void |
setIndexKey(java.lang.Object value) |
acceptable, toString
determineNextRow, determinePreviousRow, set
clearNextRow, clearPreviousRow, current, currentIndex, getDelegate, hasCurrent, isNextAvailable, isPreviousAvailable, next, nextIndex, previous, previousIndex, remove, setNext, setPrevious
add, first, last, next, peekNext, peekPrevious, previous, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, current, currentIndex, first, hasCurrent, last, next, next, nextIndex, peekNext, peekPrevious, previous, previous, previousIndex, remove, set, size
public FilteringChangingIndexedRowIterator(MutableIndexedRowIterator iterator, RowDecorator decorator, Selectable where)
public java.lang.String getShortName()
getShortName
in class FilteringRowIterator
public boolean hasNext()
RowIterator
true
if I have more Row
s when traversing the list
in the forward direction. (In other words, returns true
iff
RowIterator.next()
would return a Row
rather than throwing an exception.)hasNext
in interface RowIterator
hasNext
in class AbstractFilteringRowIterator
public boolean hasPrevious()
RowIterator
true
if I have more Row
s when traversing the list
in the reverse direction. (In other words, returns true
iff
RowIterator.previous()
would return a Row
rather than throwing an exception.)hasPrevious
in interface RowIterator
hasPrevious
in class AbstractFilteringRowIterator
public boolean indexSet()
indexSet
in interface MutableIndexedRowIterator
public boolean isEmpty()
RowIterator
true
if there are no rows to report with this iterator.isEmpty
in interface RowIterator
isEmpty
in class BaseRowIterator
public void removeIndexKey() throws AxionException
removeIndexKey
in interface MutableIndexedRowIterator
AxionException
public void reset() throws AxionException
RowIterator
RowIterator
to its initial state (positioned just
before the first Row
in the list).reset
in interface RowIterator
reset
in class AbstractFilteringRowIterator
AxionException
public void setIndexKey(java.lang.Object value) throws AxionException
setIndexKey
in interface MutableIndexedRowIterator
AxionException