Class CloneIterable<E>
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.tools.utility.iterable.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
CloneIterable.DefaultRemover
-
Constructor Summary
Constructors Modifier Constructor Description protected
CloneIterable()
protected
CloneIterable(CloneIterator.Remover<E> remover)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CloneIterator.Remover<E>
buildDefaultRemover()
protected void
remove(E element)
Remove the specified element from the original collection.
-
-
-
Constructor Detail
-
CloneIterable
protected CloneIterable()
-
CloneIterable
protected CloneIterable(CloneIterator.Remover<E> remover)
-
-
Method Detail
-
buildDefaultRemover
protected CloneIterator.Remover<E> buildDefaultRemover()
-
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
.
-
-