Package com.inductiveautomation.snap.web
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:
java.lang.Iterable<E>
,java.util.Collection<E>
,java.util.List<E>
- Enclosing class:
- Settings
public class Settings.SettingsList<E> extends java.util.AbstractList<E>
The List.
-
-
Constructor Summary
Constructors Constructor Description SettingsList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int anIndex, E anItem)
Add list item.E
get(int anIndex)
Return list item at index.Settings
getSettings(int anIndex, boolean doCreate)
Returns settings at index.E
remove(int anIndex)
Remove list item.int
size()
Return list size.-
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
-
-
-
Method Detail
-
size
public int size()
Return list size.
-
get
public E get(int anIndex)
Return list item at index.
-
add
public void add(int anIndex, E anItem)
Add list item.
-
remove
public E remove(int anIndex)
Remove list item.
-
getSettings
public Settings getSettings(int anIndex, boolean doCreate)
Returns settings at index.
-
-