public interface ListMutator<E>
CloneListIterator
to remove elements from the original list; since the list
iterator does not have direct access to the original list.Modifier and Type | Method and Description |
---|---|
void |
add(int index,
E item)
Adds the specified object to the original list.
|
void |
remove(int index)
Removes the specified object from the original list.
|
void |
set(int index,
E item)
Sets the specified object in the original list.
|
void add(int index, E item)
index
- The index of insertionitem
- The element to insert into the listvoid remove(int index)
index
- The index of the element to removevoid set(int index, E item)
index
- The index of replacementitem
- The element to replace the existing oneEclipseLink 2.4.2, "build v20130514-5956486" API Reference