infovis.utils
Class InverseRowComparator

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

public class InverseRowComparator
extends Object
implements RowComparator

Class InverseComparator

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

Constructor Summary
InverseRowComparator(RowComparator comparator)
           
 
Method Summary
 int compare(int row1, int row2)
           
 RowComparator getComparator()
           
 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

InverseRowComparator

public InverseRowComparator(RowComparator comparator)
Method Detail

compare

public int compare(int row1,
                   int row2)
Specified by:
compare in interface IntComparator

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.

getComparator

public RowComparator getComparator()


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