Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.result
Class OrderingFromAssociation.DerivedComparator

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.result.OrderingFromAssociation.DerivedComparator
All Implemented Interfaces:
Comparator<Integer>
Enclosing class:
OrderingFromAssociation<T extends Comparable<T>,O extends DatabaseObject>

protected class OrderingFromAssociation.DerivedComparator
extends Object
implements Comparator<Integer>

Internally used comparator using a preexisting comparator for the given datatype

Author:
Erich Schubert

Constructor Summary
protected OrderingFromAssociation.DerivedComparator()
           
 
Method Summary
 int compare(Integer id1, Integer id2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

OrderingFromAssociation.DerivedComparator

protected OrderingFromAssociation.DerivedComparator()
Method Detail

compare

public int compare(Integer id1,
                   Integer id2)
Specified by:
compare in interface Comparator<Integer>

Release 0.2.1 (2009-07-13_1605)