public static class BasicModelUtils.SimilarityComparator extends java.lang.Object implements java.util.Comparator<BasicModelUtils.WordSimilarity>
Constructor and Description |
---|
SimilarityComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(BasicModelUtils.WordSimilarity o1,
BasicModelUtils.WordSimilarity o2) |
public int compare(BasicModelUtils.WordSimilarity o1, BasicModelUtils.WordSimilarity o2)
compare
in interface java.util.Comparator<BasicModelUtils.WordSimilarity>