infovis.utils
Class RowIteratorProxy

java.lang.Object
  extended by infovis.utils.RowIteratorProxy
All Implemented Interfaces:
RowIterator, Iterator
Direct Known Subclasses:
AppendRowIterator, FilteredRowIterator

public class RowIteratorProxy
extends Object
implements RowIterator

Class RowIteratorProxy

Version:
$Revision: 1.1 $
Author:
Jean-Daniel Fekete

Constructor Summary
RowIteratorProxy(RowIterator iterator)
           
 
Method Summary
 RowIterator copy()
          Clone myself with the right type returned.
 boolean hasNext()
           
 Object next()
           
 int nextRow()
          Returns the next row after incrementing the iterator.
 int peekRow()
          Returns the next row without incrementing the iterator.
 void remove()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RowIteratorProxy

public RowIteratorProxy(RowIterator iterator)
Method Detail

copy

public RowIterator copy()
Description copied from interface: RowIterator
Clone myself with the right type returned.

Specified by:
copy in interface RowIterator
Returns:
a copy of myself.

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

nextRow

public int nextRow()
Description copied from interface: RowIterator
Returns the next row after incrementing the iterator.

Specified by:
nextRow in interface RowIterator
Returns:
the next row.

peekRow

public int peekRow()
Description copied from interface: RowIterator
Returns the next row without incrementing the iterator.

Specified by:
peekRow in interface RowIterator
Returns:
the next row.

remove

public void remove()
Specified by:
remove in interface Iterator

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.