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

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

protected final class OrderingFromDataStore.DerivedComparator
extends Object
implements Comparator<DBID>

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


Constructor Summary
protected OrderingFromDataStore.DerivedComparator()
           
 
Method Summary
 int compare(DBID id1, DBID 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

OrderingFromDataStore.DerivedComparator

protected OrderingFromDataStore.DerivedComparator()
Method Detail

compare

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

Release 0.4.0 (2011-09-20_1324)