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