T
- the data type for the valuepublic static interface Preferences.Setting<T>
equals
method.Modifier and Type | Method and Description |
---|---|
Preferences.Setting<T> |
copy()
Clone the current object.
|
boolean |
equalVal(T otherVal)
Check if the value of this Setting object is equal to the given value.
|
Preferences.Setting<T> |
getNullInstance()
Returns a setting whose value is null.
|
T |
getValue()
Returns the value of this setting.
|
void |
visit(Preferences.SettingVisitor visitor)
Enable usage of the visitor pattern.
|
boolean equalVal(T otherVal)
otherVal
- the other valuePreferences.Setting<T> copy()
void visit(Preferences.SettingVisitor visitor)
visitor
- the visitorPreferences.Setting<T> getNullInstance()
getValue()