TissueInfo API 20091124110011

edu.mssm.crover.tables
Class KeepSubSetColumnFilter

java.lang.Object
  extended by edu.mssm.crover.tables.ColumnFilter
      extended by edu.mssm.crover.tables.KeepSubSetColumnFilter

public class KeepSubSetColumnFilter
extends ColumnFilter

Keep columns if they match a subset of pre-determined subset of column identifiers.

Author:
Fabien Campagne Date: Jul 9, 2008 Time: 11:26:18 AM

Constructor Summary
KeepSubSetColumnFilter(Set<String> subset)
           
 
Method Summary
 boolean accept(Table table, String columnIdentifer)
          Determine if a column should be kept by the filtering process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeepSubSetColumnFilter

public KeepSubSetColumnFilter(Set<String> subset)
Method Detail

accept

public boolean accept(Table table,
                      String columnIdentifer)
Description copied from class: ColumnFilter
Determine if a column should be kept by the filtering process. The default implementation accepts any column.

Specified by:
accept in class ColumnFilter
Returns:
True if the row should be kept by the filter. False otherwise.

TissueInfo API 20091124110011

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