Class Settings.SettingsList<E>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
com.inductiveautomation.snap.web.Settings.SettingsList<E>
All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>
Enclosing class:
Settings

public class Settings.SettingsList<E> extends AbstractList<E>
The List.
  • Constructor Details

    • SettingsList

      public SettingsList()
  • Method Details

    • size

      public int size()
      Return list size.
      Specified by:
      size in interface Collection<E>
      Specified by:
      size in interface List<E>
      Specified by:
      size in class AbstractCollection<E>
    • get

      public E get(int anIndex)
      Return list item at index.
      Specified by:
      get in interface List<E>
      Specified by:
      get in class AbstractList<E>
    • add

      public void add(int anIndex, E anItem)
      Add list item.
      Specified by:
      add in interface List<E>
      Overrides:
      add in class AbstractList<E>
    • remove

      public E remove(int anIndex)
      Remove list item.
      Specified by:
      remove in interface List<E>
      Overrides:
      remove in class AbstractList<E>
    • getSettings

      public Settings getSettings(int anIndex, boolean doCreate)
      Returns settings at index.