public final class ByValueAscComparator extends Object implements Comparator<org.apache.mahout.cf.taste.recommender.RecommendedItem>
RecommendedItems that sorts by value, ascending.
(And breaks ties by sorting by item ID, descending then.)| Modifier and Type | Field and Description |
|---|---|
static Comparator<org.apache.mahout.cf.taste.recommender.RecommendedItem> |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(org.apache.mahout.cf.taste.recommender.RecommendedItem a,
org.apache.mahout.cf.taste.recommender.RecommendedItem b) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic static final Comparator<org.apache.mahout.cf.taste.recommender.RecommendedItem> INSTANCE
public int compare(org.apache.mahout.cf.taste.recommender.RecommendedItem a,
org.apache.mahout.cf.taste.recommender.RecommendedItem b)
compare in interface Comparator<org.apache.mahout.cf.taste.recommender.RecommendedItem>Copyright © 2012-2013 Myrrix Ltd. All Rights Reserved.