E
- the type of elements returned by the list iterable's list iteratorpublic abstract class CloneListIterable<E> extends java.lang.Object implements ListIterable<E>
Modifier and Type | Class and Description |
---|---|
protected class |
CloneListIterable.DefaultMutator |
Modifier | Constructor and Description |
---|---|
protected |
CloneListIterable() |
protected |
CloneListIterable(CloneListIterator.Mutator<E> mutator) |
Modifier and Type | Method and Description |
---|---|
protected void |
add(int index,
E element)
At the specified index, add the specified element to the original list.
|
protected CloneListIterator.Mutator<E> |
buildDefaultMutator() |
protected void |
remove(int index)
Remove the element at the specified index from the original list.
|
protected void |
set(int index,
E element)
At the specified index, set the specified element in the original list.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
iterator
protected CloneListIterable()
protected CloneListIterable(CloneListIterator.Mutator<E> mutator)
protected CloneListIterator.Mutator<E> buildDefaultMutator()
protected void add(int index, E element)
This method can be overridden by a subclass as an
alternative to building a
CloneListIterator.Mutator
.
protected void remove(int index)
This method can be overridden by a subclass as an
alternative to building a
CloneListIterator.Mutator
.
protected void set(int index, E element)
This method can be overridden by a subclass as an
alternative to building a
CloneListIterator.Mutator
.