public class RecommendedItem extends Object implements Comparable<RecommendedItem>, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected long |
item |
protected double |
recommendation |
| Constructor and Description |
|---|
RecommendedItem(long item,
double recommendation) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(RecommendedItem other) |
boolean |
equals(Object obj) |
long |
getItem() |
double |
getRecommendation() |
int |
hashCode() |
String |
toString() |
public long getItem()
public double getRecommendation()
public int compareTo(RecommendedItem other)
compareTo in interface Comparable<RecommendedItem>Copyright © 2013. All Rights Reserved.