org.axiondb
Interface RowDecoratorIterator

All Known Implementing Classes:
RowIteratorRowDecoratorIterator

public interface RowDecoratorIterator

A bidirectional iterator over a collection of RowDecorators. (Once current,next,previous, first, or lastis invoked, all previously returned values are invalidated.)

Version:
$Revision: 1.6 $ $Date: 2004/08/27 03:21:21 $

Method Summary
 RowDecorator current()
           
 RowDecorator first()
           
 RowDecorator getDecorator()
           
 RowIterator getIterator()
           
 boolean hasCurrent()
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 RowDecorator last()
           
 RowDecorator next()
           
 RowDecorator previous()
           
 void reset()
           
 void setDecorator(RowDecorator decorator)
           
 void setIterator(RowIterator iterator)
           
 

Method Detail

current

public RowDecorator current()
                     throws NoSuchElementException
Throws:
NoSuchElementException

first

public RowDecorator first()
                   throws NoSuchElementException,
                          AxionException
Throws:
NoSuchElementException
AxionException

getDecorator

public RowDecorator getDecorator()

getIterator

public RowIterator getIterator()

hasCurrent

public boolean hasCurrent()

hasNext

public boolean hasNext()

hasPrevious

public boolean hasPrevious()

last

public RowDecorator last()
                  throws NoSuchElementException,
                         AxionException
Throws:
NoSuchElementException
AxionException

next

public RowDecorator next()
                  throws NoSuchElementException,
                         AxionException
Throws:
NoSuchElementException
AxionException

previous

public RowDecorator previous()
                      throws NoSuchElementException,
                             AxionException
Throws:
NoSuchElementException
AxionException

reset

public void reset()
           throws AxionException
Throws:
AxionException

setDecorator

public void setDecorator(RowDecorator decorator)

setIterator

public void setIterator(RowIterator iterator)