org.axiondb.engine.rowiterators
Class UnmodifiableRowIterator
java.lang.Object
org.axiondb.engine.rowiterators.DelegatingRowIterator
org.axiondb.engine.rowiterators.UnmodifiableRowIterator
- All Implemented Interfaces:
- RowIterator
public class UnmodifiableRowIterator
- extends DelegatingRowIterator
- Version:
- $Revision: 1.6 $ $Date: 2005/03/25 23:26:35 $
Method Summary |
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)
|
Methods inherited from class org.axiondb.engine.rowiterators.DelegatingRowIterator |
current, currentIndex, first, getDelegate, hasCurrent, hasNext, hasPrevious, isEmpty, last, next, next, nextIndex, peekNext, peekPrevious, previous, previous, previousIndex, reset, setDelegate, size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UnmodifiableRowIterator
public UnmodifiableRowIterator(RowIterator iter)
wrap
public static RowIterator wrap(RowIterator that)
add
public void add(Row row)
throws AxionException
- Description copied from interface:
RowIterator
- Add a
Row
at the current position in my underlying collection, or throw
UnsupportedOperationException
. (Optional operation.)
- Specified by:
add
in interface RowIterator
- Overrides:
add
in class DelegatingRowIterator
- Throws:
AxionException
remove
public void remove()
throws AxionException
- Description copied from interface:
RowIterator
- Set the
Row
at the current position in my underlying collection, or throw
UnsupportedOperationException
. (Optional operation.)
- Specified by:
remove
in interface RowIterator
- Overrides:
remove
in class DelegatingRowIterator
- Throws:
AxionException
set
public void set(Row row)
throws AxionException
- Description copied from interface:
RowIterator
- Set the
Row
at the current position in my underlying collection, or throw
UnsupportedOperationException
. (Optional operation.)
- Specified by:
set
in interface RowIterator
- Overrides:
set
in class DelegatingRowIterator
- Throws:
AxionException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object