Package org.openrefine.clustering.knn
Class kNNClusterer.ValuesComparator
- java.lang.Object
-
- org.openrefine.clustering.knn.kNNClusterer.ValuesComparator
-
- All Implemented Interfaces:
Serializable
,Comparator<Map.Entry<Serializable,Integer>>
- Enclosing class:
- kNNClusterer
public static class kNNClusterer.ValuesComparator extends Object implements Comparator<Map.Entry<Serializable,Integer>>, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValuesComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Map.Entry<Serializable,Integer> o1, Map.Entry<Serializable,Integer> o2)
-
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(Map.Entry<Serializable,Integer> o1, Map.Entry<Serializable,Integer> o2)
- Specified by:
compare
in interfaceComparator<Map.Entry<Serializable,Integer>>
-
-