Top Description Inners Fields Constructors Methods
org.eclipse.persistence.jpa.jpql.utility.iterable

public abstract Class CloneListIterable<E>

extends Object
implements ListIterable<E>
Class Inheritance
All Implemented Interfaces
org.eclipse.persistence.jpa.jpql.utility.iterable.ListIterable, java.lang.Iterable
Known Direct Subclasses
org.eclipse.persistence.jpa.jpql.utility.iterable.SnapshotCloneListIterable
Type Parameters
<E>
the type of elements returned by the list iterable's list iterator
Imports
org.eclipse.persistence.jpa.jpql.utility.iterator.CloneListIterator

Pull together mutator state and behavior for subclasses.
See Also
LiveCloneListIterable, SnapshotCloneListIterable

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected class

Field Summary

Modifier and TypeField and Description
pack-priv final CloneListIterator.Mutator<E>

Constructor Summary

AccessConstructor and Description
protected
protected

Method Summary

Modifier and TypeMethod and Description
protected void
add(int index, E element)

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
set(int index, E element)

At the specified index, set the specified element in the original list.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

mutatorback to summary
pack-priv final CloneListIterator.Mutator<E> mutator

Constructor Detail

CloneListIterableback to summary
protected CloneListIterable()
CloneListIterableback to summary
protected CloneListIterable(CloneListIterator.Mutator<E> mutator)

Method Detail

addback to summary
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 CloneListIterator.Mutator.

buildDefaultMutatorback to summary
protected CloneListIterator.Mutator<E> buildDefaultMutator()
removeback to summary
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.

setback to summary
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 CloneListIterator.Mutator.

org.eclipse.persistence.jpa.jpql.utility.iterable back to summary

protected Class CloneListIterable.DefaultMutator

extends Object
implements CloneListIterator.Mutator<E>
Class Inheritance
  • java.lang.Object
  • org.eclipse.persistence.jpa.jpql.utility.iterable.CloneListIterable.DefaultMutator
All Implemented Interfaces
org.eclipse.persistence.jpa.jpql.utility.iterator.CloneListIterator.Mutator

Constructor Summary

AccessConstructor and Description
protected
DefaultMutator()

Default constructor.

Method Summary

Modifier and TypeMethod and Description
public void
add(int index, E element)

Implements org.eclipse.persistence.jpa.jpql.utility.iterator.CloneListIterator.Mutator.add.

Add the specified object to the original list.
public void
remove(int index)

Implements org.eclipse.persistence.jpa.jpql.utility.iterator.CloneListIterator.Mutator.remove.

Remove the specified object from the original list.
public void
set(int index, E element)

Implements org.eclipse.persistence.jpa.jpql.utility.iterator.CloneListIterator.Mutator.set.

Set the specified object in the original list.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DefaultMutatorback to summary
protected DefaultMutator()

Default constructor.

Method Detail

addback to summary
public void add(int index, E element)

Implements org.eclipse.persistence.jpa.jpql.utility.iterator.CloneListIterator.Mutator.add.

Doc from org.eclipse.persistence.jpa.jpql.utility.iterator.CloneListIterator.Mutator.add.

Add the specified object to the original list.

Annotations
@Override
removeback to summary
public void remove(int index)

Implements org.eclipse.persistence.jpa.jpql.utility.iterator.CloneListIterator.Mutator.remove.

Doc from org.eclipse.persistence.jpa.jpql.utility.iterator.CloneListIterator.Mutator.remove.

Remove the specified object from the original list.

Annotations
@Override
setback to summary
public void set(int index, E element)

Implements org.eclipse.persistence.jpa.jpql.utility.iterator.CloneListIterator.Mutator.set.

Doc from org.eclipse.persistence.jpa.jpql.utility.iterator.CloneListIterator.Mutator.set.

Set the specified object in the original list.

Annotations
@Override