Class MapListSetting
java.lang.Object
org.openstreetmap.josm.spi.preferences.AbstractSetting<List<Map<String,String>>>
org.openstreetmap.josm.spi.preferences.MapListSetting
- 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
ConstructorsConstructorDescriptionMapListSetting(List<Map<String, String>> value) Constructs a newMapListSettingwith the given value -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcopy()Clone the current object.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
-
MapListSetting
Constructs a newMapListSettingwith the given value- Parameters:
value- The setting value
-
-
Method Details
-
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()
-