Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

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

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

protected final class OrderingFromHashMap.DerivedComparator
extends Object
implements Comparator<Integer>

Internal comparator, accessing the map but then using the provided comparator to sort objects

Author:
Erich Schubert

Constructor Summary
protected OrderingFromHashMap.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

OrderingFromHashMap.DerivedComparator

protected OrderingFromHashMap.DerivedComparator()
Method Detail

compare

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

Release 0.2 (2009-07-06_1820)