EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql.util.iterator
Interface ListMutator<E>

All Known Implementing Classes:
NullListMutator

public interface ListMutator<E>

Used by CloneListIterator to remove elements from the original list; since the list iterator does not have direct access to the original list.

Version:
2.4
Since:
2.4

Method Summary
 void add(int index, E item)
          Adds the specified object to the original list.
 void remove(int index)
          Removes the specified object from the original list.
 void set(int index, E item)
          Sets the specified object in the original list.
 

Method Detail

add

void add(int index,
         E item)
Adds the specified object to the original list.

Parameters:
index - The index of insertion
item - The element to insert into the list

remove

void remove(int index)
Removes the specified object from the original list.

Parameters:
index - The index of the element to remove

set

void set(int index,
         E item)
Sets the specified object in the original list.

Parameters:
index - The index of replacement
item - The element to replace the existing one

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference