public interface Preference
A real-valued preference a user has for an item. This interface exists to abstract over different representations of preference, such as ratings and matrix entries.
Modifier and Type | Method and Description |
---|---|
long |
getItemId()
Get the ID of the item the preference is for.
|
long |
getUserId()
Get the ID of the user whose preference this is.
|
double |
getValue()
Get the preference value.
|