T - the type of items in the listpublic class TemplateModelListProxy<T> extends AbstractList<T> implements Serializable
ModelList in a StateNode
as the data source.
For internal use only. May be renamed or removed in a future release.
modCount| Constructor and Description |
|---|
TemplateModelListProxy(StateNode stateNode,
ComplexModelType<T> itemType)
Creates a new proxy for the given node and item type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
T object) |
void |
clear() |
T |
get(int index) |
int |
indexOf(Object object) |
T |
remove(int index) |
boolean |
remove(Object object) |
T |
set(int index,
T object) |
int |
size() |
add, addAll, equals, hashCode, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic TemplateModelListProxy(StateNode stateNode, ComplexModelType<T> itemType)
stateNode - the state node containing the model listitemType - the type of items in the listpublic T get(int index)
public void add(int index,
T object)
public void clear()
clear in interface Collection<T>clear in interface List<T>clear in class AbstractList<T>public int indexOf(Object object)
public boolean remove(Object object)
remove in interface Collection<T>remove in interface List<T>remove in class AbstractCollection<T>public T remove(int index)
public int size()
size in interface Collection<T>size in interface List<T>size in class AbstractCollection<T>Copyright © 2025. All rights reserved.