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

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

java.lang.Object
  extended by 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
protected  class CloneIterable.DefaultRemover
           
 
Constructor Summary
protected CloneIterable()
           
protected CloneIterable(CloneIterator.Remover<E> remover)
           
 
Method Summary
protected  CloneIterator.Remover<E> buildDefaultRemover()
           
protected  void remove(E element)
          Remove the specified element from the original collection.
 
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
iterator
 

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 org.eclipse.jpt.common.utility.internal.iterators.Mutator.


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