EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference

org.eclipse.persistence.jpa.jpql.utility.iterable
Class CloneListIterable<E>

java.lang.Object
  extended by 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:
java.lang.Iterable<E>, ListIterable<E>
Direct Known Subclasses:
SnapshotCloneListIterable

public abstract class CloneListIterable<E>
extends java.lang.Object
implements ListIterable<E>

Pull together mutator state and behavior for subclasses.

See Also:
SnapshotCloneListIterable, LiveCloneListIterable

Nested Class Summary
protected  class CloneListIterable.DefaultMutator
           
 
Constructor Summary
protected CloneListIterable()
           
protected CloneListIterable(CloneListIterator.Mutator<E> mutator)
           
 
Method Summary
protected  void add(int index, E element)
          At the specified index, add the specified element to the original list.
protected  CloneListIterator.Mutator<E> buildDefaultMutator()
           
protected  void remove(int index)
          Remove the element at the specified index from the original list.
protected  void set(int index, E element)
          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 org.eclipse.persistence.jpa.jpql.utility.iterable.ListIterable
iterator
 

Constructor Detail

CloneListIterable

protected CloneListIterable()

CloneListIterable

protected CloneListIterable(CloneListIterator.Mutator<E> mutator)
Method Detail

buildDefaultMutator

protected CloneListIterator.Mutator<E> buildDefaultMutator()

add

protected void add(int index,
                   E element)
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 org.eclipse.jpt.common.utility.internal.iterators.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 org.eclipse.jpt.common.utility.internal.iterators.CloneListIterator.Mutator.


set

protected void set(int index,
                   E element)
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 org.eclipse.jpt.common.utility.internal.iterators.CloneListIterator.Mutator.


EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference