Class ListListSetting

java.lang.Object
org.openstreetmap.josm.spi.preferences.AbstractSetting<List<List<String>>>
org.openstreetmap.josm.spi.preferences.ListListSetting
All Implemented Interfaces:
Setting<List<List<String>>>

Setting containing a List of Lists of String values.
Since:
12881 (moved from package org.openstreetmap.josm.data.preferences)
  • Constructor Details

    • ListListSetting

      public ListListSetting(List<List<String>> value)
      Constructs a new ListListSetting with 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: Setting
      Clone the current object.
      Returns:
      an identical copy of the current object
    • consistencyTest

      private void consistencyTest()
    • visit

      public void visit(SettingVisitor visitor)
      Description copied from interface: Setting
      Enable usage of the visitor pattern.
      Parameters:
      visitor - the visitor
    • getNullInstance

      Description copied from interface: Setting
      Returns 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()