de.lmu.ifi.dbs.elki.result
Class OrderingFromDataStore.DerivedComparator
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrderingFromDataStore.DerivedComparator
protected OrderingFromDataStore.DerivedComparator()
compare
public int compare(DBID id1,
DBID id2)
- Specified by:
compare
in interface Comparator<DBID>