edu.mssm.crover.tables
Interface Table.RowIterator

All Superinterfaces:
java.lang.Cloneable
All Known Implementing Classes:
ArrayTable.RowIterator, OrderedTable.OrderedRowIterator
Enclosing interface:
Table

public static interface Table.RowIterator
extends java.lang.Cloneable


Method Summary
 java.lang.Object clone()
           
 boolean end()
          Returns true when the last row has been passed, false when the row pointed to by the iterator is valid.
 boolean equalOnColumns(Table.RowIterator other, int[] column_indices)
          Compares this iterator instance to another iterator instance.
 Table.RowIterator getImpl()
          Returns the iterator implementation that matches the table implementation.
 void next()
          Advances the iterator to the next row of the table.
 

Method Detail

getImpl

Table.RowIterator getImpl()
Returns the iterator implementation that matches the table implementation. Adaptors can be added on top of a RowIterator to change its ordering relation with respect to the original table. A table implementation calls this method to retrieve the implementation that it recognizes, after the modification of ordering have been applied.


clone

java.lang.Object clone()

equalOnColumns

boolean equalOnColumns(Table.RowIterator other,
                       int[] column_indices)
Compares this iterator instance to another iterator instance. The comparison returns true when the instance are identical over the columns identified in column_indices. The other columns are ignored.


next

void next()
Advances the iterator to the next row of the table.


end

boolean end()
Returns true when the last row has been passed, false when the row pointed to by the iterator is valid.



Copyright © 2003-2013 Institute for Computational Biomedicine, All Rights Reserved.