infovis.utils
Class IdRowComparator

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

public class IdRowComparator
extends Object
implements RowComparator

Class IdRowComparator

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

Constructor Summary
IdRowComparator()
           
 
Method Summary
 int compare(int a, int b)
           
static IdRowComparator getInstance()
           
 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

IdRowComparator

public IdRowComparator()
Method Detail

getInstance

public static IdRowComparator getInstance()

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.