infovis.utils
Class FilteredRowComparator

java.lang.Object
  extended by infovis.utils.FilteredRowComparator
All Implemented Interfaces:
IntComparator, RowComparator

public class FilteredRowComparator
extends Object
implements RowComparator

Class FilteredRowComparator

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

Constructor Summary
FilteredRowComparator(RowComparator comparator, RowFilter filter)
           
FilteredRowComparator(RowFilter filter)
           
 
Method Summary
 int compare(int a, int b)
           
 boolean isValueUndefined(int row)
          Returns true if the value at the specified row is undefined.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cern.colt.function.IntComparator
equals
 

Constructor Detail

FilteredRowComparator

public FilteredRowComparator(RowComparator comparator,
                             RowFilter filter)

FilteredRowComparator

public FilteredRowComparator(RowFilter filter)
Method Detail

isValueUndefined

public boolean isValueUndefined(int row)
Description copied from interface: RowComparator
Returns true if the value at the specified row is undefined.

Specified by:
isValueUndefined in interface RowComparator
Parameters:
row - the row.
Returns:
true if the value at the specified row is undefined.

compare

public int compare(int a,
                   int b)
Specified by:
compare in interface IntComparator


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