| Modifier and Type | Field and Description |
|---|---|
| private final XmlMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(int
index at which the specified element is to be inserted index, Object element to be inserted element)Overrides java. Implements java. |
| public Object | get(int
index of the element to return index)Implements abstract java. Implements java. |
| private void | |
| public Object | remove(int
the index of the element to be removed index)Overrides java. Implements java. |
| public Object | set(int
index of the element to replace index, Object element to be stored at the specified position element)Overrides java. Implements java. |
| public int | size()
Implements abstract java. Implements java. |
| map | back to summary |
|---|---|
| private final XmlMap map | |
| XmlArrayList | back to summary |
|---|---|
| public XmlArrayList(PersistenceStrategy persistenceStrategy) | |
| add | back to summary |
|---|---|
| public void add(int index, Object element) Overrides java. Implements java. Doc from java. Inserts the specified element at the specified position in this list (optional operation). Shifts the element currently at that position (if any) and any subsequent elements to the right (adds one to their indices).
| |
| get | back to summary |
|---|---|
| public Object get(int index) Implements abstract java. Implements java. Doc from java. Returns the element at the specified position in this list.
| |
| rangeCheck | back to summary |
|---|---|
| private void rangeCheck(int index) | |
| remove | back to summary |
|---|---|
| public Object remove(int index) Overrides java. Implements java. Doc from java. Removes the element at the specified position in this list (optional operation). Shifts any subsequent elements to the left (subtracts one from their indices). Returns the element that was removed from the list.
| |
| set | back to summary |
|---|---|
| public Object set(int index, Object element) Overrides java. Implements java. Doc from java. Replaces the element at the specified position in this list with the specified element (optional operation).
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this list. If this list contains
more than
| |