com.rapidminer.datatable
Class RangeFilterCondition

java.lang.Object
  extended by com.rapidminer.datatable.RangeFilterCondition
All Implemented Interfaces:
DataTableFilterCondition

public class RangeFilterCondition
extends java.lang.Object
implements DataTableFilterCondition

This condition filters out row, if their value of the specified dimension does not lie in given value range.

Author:
Sebastian Land

Constructor Summary
RangeFilterCondition(Range range, int dimensionIndex)
           
 
Method Summary
 boolean keepRow(DataTableRow row)
          This method decides if the given data row is kept or filtered out.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RangeFilterCondition

public RangeFilterCondition(Range range,
                            int dimensionIndex)
Method Detail

keepRow

public boolean keepRow(DataTableRow row)
Description copied from interface: DataTableFilterCondition
This method decides if the given data row is kept or filtered out. If return true, the row will be in the resulting filtered data set. If returns false, the row will be removed in the resulting set.

Specified by:
keepRow in interface DataTableFilterCondition


Copyright © 2001-2009 by Rapid-I