public class UnmodifiableRowIterator extends DelegatingRowIterator
Constructor and Description |
---|
UnmodifiableRowIterator(RowIterator iter) |
Modifier and Type | Method and Description |
---|---|
void |
add(Row row)
Add a
Row at the current position in my underlying collection, or throw
UnsupportedOperationException . |
void |
remove()
Set the
Row at the current position in my underlying collection, or throw
UnsupportedOperationException . |
void |
set(Row row)
Set the
Row at the current position in my underlying collection, or throw
UnsupportedOperationException . |
java.lang.String |
toString() |
static RowIterator |
wrap(RowIterator that) |
current, currentIndex, first, getDelegate, hasCurrent, hasNext, hasPrevious, isEmpty, last, next, next, nextIndex, peekNext, peekPrevious, previous, previous, previousIndex, reset, setDelegate, size
public UnmodifiableRowIterator(RowIterator iter)
public static RowIterator wrap(RowIterator that)
public void add(Row row) throws AxionException
RowIterator
Row
at the current position in my underlying collection, or throw
UnsupportedOperationException
. (Optional operation.)add
in interface RowIterator
add
in class DelegatingRowIterator
AxionException
public void remove() throws AxionException
RowIterator
Row
at the current position in my underlying collection, or throw
UnsupportedOperationException
. (Optional operation.)remove
in interface RowIterator
remove
in class DelegatingRowIterator
AxionException
public void set(Row row) throws AxionException
RowIterator
Row
at the current position in my underlying collection, or throw
UnsupportedOperationException
. (Optional operation.)set
in interface RowIterator
set
in class DelegatingRowIterator
AxionException
public java.lang.String toString()
toString
in class java.lang.Object