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:
Iterable<E>
- Direct Known Subclasses:
SnapshotCloneIterable
Pull together remover state and behavior for subclasses.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedCloneIterable(CloneIterator.Remover<E> remover) -
Method Summary
Modifier and TypeMethodDescriptionprotected CloneIterator.Remover<E> protected voidRemove the specified element from the original collection.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Constructor Details
-
CloneIterable
protected CloneIterable() -
CloneIterable
-
-
Method Details
-
buildDefaultRemover
-
remove
Remove the specified element from the original collection.This method can be overridden by a subclass as an alternative to building a
CloneListIterator.Mutator.
-