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