public final class SimpleRecommendedItem extends Object implements org.apache.mahout.cf.taste.recommender.RecommendedItem, Comparable<SimpleRecommendedItem>
RecommendedItem which can be compared with itself.| Constructor and Description |
|---|
SimpleRecommendedItem(long itemID,
float value) |
public long getItemID()
getItemID in interface org.apache.mahout.cf.taste.recommender.RecommendedItempublic float getValue()
getValue in interface org.apache.mahout.cf.taste.recommender.RecommendedItempublic int compareTo(SimpleRecommendedItem other)
compareTo in interface Comparable<SimpleRecommendedItem>Copyright © 2012. All Rights Reserved.