public static class Preferences.StringSetting extends Preferences.AbstractSetting<java.lang.String>
String value.value| Constructor and Description |
|---|
StringSetting(java.lang.String value)
Constructs a new
StringSetting with the given value |
| Modifier and Type | Method and Description |
|---|---|
Preferences.StringSetting |
copy()
Clone the current object.
|
boolean |
equals(java.lang.Object other) |
boolean |
equalVal(java.lang.String otherVal)
Check if the value of this Setting object is equal to the given value.
|
Preferences.StringSetting |
getNullInstance()
Returns a setting whose value is null.
|
void |
visit(Preferences.SettingVisitor visitor)
Enable usage of the visitor pattern.
|
getValue, hashCode, toStringpublic StringSetting(java.lang.String value)
StringSetting with the given valuevalue - The setting valuepublic boolean equalVal(java.lang.String otherVal)
Preferences.SettingotherVal - the other valuepublic Preferences.StringSetting copy()
Preferences.Settingpublic void visit(Preferences.SettingVisitor visitor)
Preferences.Settingvisitor - the visitorpublic Preferences.StringSetting getNullInstance()
Preferences.SettingPreferences.Setting.getValue()public boolean equals(java.lang.Object other)
equals in class Preferences.AbstractSetting<java.lang.String>