org.axiondb.engine.rowiterators
Class UnmodifiableRowIterator

java.lang.Object
  extended by org.axiondb.engine.rowiterators.DelegatingRowIterator
      extended by 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 $

Constructor Summary
UnmodifiableRowIterator(RowIterator iter)
           
 
Method Summary
 void add(Row row)
          Add a Rowat the current position in my underlying collection, or throw UnsupportedOperationException.
 void remove()
          Set the Rowat the current position in my underlying collection, or throw UnsupportedOperationException.
 void set(Row row)
          Set the Rowat 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
 

Constructor Detail

UnmodifiableRowIterator

public UnmodifiableRowIterator(RowIterator iter)
Method Detail

wrap

public static RowIterator wrap(RowIterator that)

add

public void add(Row row)
         throws AxionException
Description copied from interface: RowIterator
Add a Rowat 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 Rowat 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 Rowat 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