Class CloneIterable<E>

  • Type Parameters:
    E - the type of elements returned by the iterable's iterator
    All Implemented Interfaces:
    java.lang.Iterable<E>
    Direct Known Subclasses:
    SnapshotCloneIterable

    public abstract class CloneIterable<E>
    extends java.lang.Object
    implements java.lang.Iterable<E>
    Pull together remover state and behavior for subclasses.
    See Also:
    SnapshotCloneIterable, LiveCloneIterable
    • Constructor Detail

      • CloneIterable

        protected CloneIterable()
    • Method Detail

      • remove

        protected void remove​(E element)
        Remove the specified element from the original collection.

        This method can be overridden by a subclass as an alternative to building a CloneListIterator.Mutator.