CloneListIterator
iterates over a copy of a list, allowing for concurrent access to the original list. The original list passed to the CloneListIterator
's constructor should be synchronized; otherwise you run the risk of a corrupted list.
By default, a CloneListIterator
does not support the modification operations; this is because it does not have access to the original list. But if the CloneListIterator
is supplied with a {@link Mutator} it will delegate the modification operations to the {@link Mutator}. Alternatively, a subclass can override the modification methods.
@version 2.4
@since 2.4
|
|
|
|