Class CloneListIterable<E>
java.lang.Object
org.eclipse.persistence.jpa.jpql.utility.iterable.CloneListIterable<E>
- Type Parameters:
E
- the type of elements returned by the list iterable's list iterator
- All Implemented Interfaces:
Iterable<E>
,ListIterable<E>
- Direct Known Subclasses:
SnapshotCloneListIterable
Pull together mutator state and behavior for subclasses.
-
Nested Class Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
CloneListIterable
(CloneListIterator.Mutator<E> mutator) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
At the specified index, add the specified element to the original list.protected CloneListIterator.Mutator<E>
protected void
remove
(int index) Remove the element at the specified index from the original list.protected void
At the specified index, set the specified element in the original list.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.eclipse.persistence.jpa.jpql.utility.iterable.ListIterable
iterator
-
Constructor Details
-
CloneListIterable
protected CloneListIterable() -
CloneListIterable
-
-
Method Details
-
buildDefaultMutator
-
add
At the specified index, add the specified element to the original list.This method can be overridden by a subclass as an alternative to building a
CloneListIterator.Mutator
. -
remove
protected void remove(int index) Remove the element at the specified index from the original list.This method can be overridden by a subclass as an alternative to building a
CloneListIterator.Mutator
. -
set
At the specified index, set the specified element in the original list.This method can be overridden by a subclass as an alternative to building a
CloneListIterator.Mutator
.
-