E
- the type of elements returned by the iterable's iteratorpublic abstract class CloneIterable<E>
extends java.lang.Object
implements java.lang.Iterable<E>
SnapshotCloneIterable
,
LiveCloneIterableModifier and Type | Class and Description |
---|---|
protected class |
CloneIterable.DefaultRemover |
Modifier | Constructor and Description |
---|---|
protected |
CloneIterable() |
protected |
CloneIterable(CloneIterator.Remover<E> remover) |
Modifier and Type | Method and Description |
---|---|
protected CloneIterator.Remover<E> |
buildDefaultRemover() |
protected void |
remove(E element)
Remove the specified element from the original collection.
|
protected CloneIterable()
protected CloneIterable(CloneIterator.Remover<E> remover)
protected CloneIterator.Remover<E> buildDefaultRemover()
protected void remove(E element)
This method can be overridden by a subclass as an
alternative to building a
CloneListIterator.Mutator
.