de.lmu.ifi.dbs.elki.result
Class OrderingFromHashMap.ImpliedComparator
java.lang.Object
de.lmu.ifi.dbs.elki.result.OrderingFromHashMap.ImpliedComparator
- All Implemented Interfaces:
- Comparator<Integer>
- Enclosing class:
- OrderingFromHashMap<T extends Comparable<T>>
protected final class OrderingFromHashMap.ImpliedComparator
- extends Object
- implements Comparator<Integer>
Internal comparator, accessing the map to sort objects
- Author:
- Erich Schubert
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrderingFromHashMap.ImpliedComparator
protected OrderingFromHashMap.ImpliedComparator()
compare
public int compare(Integer id1,
Integer id2)
- Specified by:
compare
in interface Comparator<Integer>