Class ListListSetting
java.lang.Object
org.openstreetmap.josm.spi.preferences.AbstractSetting<List<List<String>>>
org.openstreetmap.josm.spi.preferences.ListListSetting
- Since:
- 12881 (moved from package
org.openstreetmap.josm.data.preferences)
-
Field Summary
Fields inherited from class org.openstreetmap.josm.spi.preferences.AbstractSetting
isNew, time, value -
Constructor Summary
ConstructorsConstructorDescriptionListListSetting(List<List<String>> value) Constructs a newListListSettingwith the given value -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcopy()Clone the current object.static ListListSettingcreate(Collection<Collection<String>> value) Convenience factory method.Returns a setting whose value is null.voidvisit(SettingVisitor visitor) Enable usage of the visitor pattern.Methods inherited from class org.openstreetmap.josm.spi.preferences.AbstractSetting
equals, getTime, getValue, hashCode, isNew, setNew, setTime, toString
-
Constructor Details
-
ListListSetting
Constructs a newListListSettingwith the given value- Parameters:
value- The setting value
-
-
Method Details
-
create
Convenience factory method.- Parameters:
value- the value- Returns:
- a corresponding ListListSetting object
-
copy
Description copied from interface:SettingClone the current object.- Returns:
- an identical copy of the current object
-
consistencyTest
-
visit
Description copied from interface:SettingEnable usage of the visitor pattern.- Parameters:
visitor- the visitor
-
getNullInstance
Description copied from interface:SettingReturns a setting whose value is null. Cannot be static, because there is no static inheritance.- Returns:
- a Setting object that isn't null itself, but returns null
for
Setting.getValue()
-