public class Recommendation<T> extends java.lang.Object
| Constructor and Description |
|---|
Recommendation(T item,
double confidence)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
getConfidence()
Returns the confidence.
|
T |
getItem()
Returns the item.
|
java.lang.String |
toString() |
public Recommendation(T item, double confidence)
public double getConfidence()
public java.lang.String toString()
toString in class java.lang.Object