|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Preference
A Preference encapsulates an Item and a preference value, which
indicates the strength of the preference for it. Preferences are associated
to Users.
| Method Summary | |
|---|---|
Item |
getItem()
|
User |
getUser()
|
double |
getValue()
|
void |
setValue(double value)
Sets the strength of the preference for this item |
| Method Detail |
|---|
@NotNull User getUser()
User who prefers the Item@NotNull Item getItem()
Item that is preferreddouble getValue()
void setValue(double value)
value - new preference
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||