TissueInfo API 20130530171129

edu.mssm.crover.tables
Interface Filter

All Known Implementing Classes:
KeepAllFilter, LocusLinkFilter

public interface Filter

Interface for table filters. Implementations of this interface define the semantic of the filter.


Method Summary
 void init(Table table)
          initializes this filter with the table.
 boolean keepRow(Table.RowIterator ri)
          Should this row be kept by the filter? The row referenced by the iterator is evaluated by this method.
 

Method Detail

keepRow

boolean keepRow(Table.RowIterator ri)
Should this row be kept by the filter? The row referenced by the iterator is evaluated by this method.

Parameters:
ri - The iterator referencing the row to be evaluated.
Returns:
True if the filter advise the client to keep the row, False otherwise.

init

void init(Table table)
initializes this filter with the table.

Parameters:
table - The table to be filtered.

TissueInfo API 20130530171129

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