public final class BooleanPreference extends Object implements Preference, Serializable
Constructor and Description |
---|
BooleanPreference(long userID,
long itemID) |
Modifier and Type | Method and Description |
---|---|
long |
getItemID() |
long |
getUserID() |
float |
getValue() |
void |
setValue(float value)
Sets the strength of the preference for this item
|
String |
toString() |
public long getUserID()
getUserID
in interface Preference
public long getItemID()
getItemID
in interface Preference
public float getValue()
getValue
in interface Preference
public void setValue(float value)
Preference
setValue
in interface Preference
value
- new preferenceCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.