|
EclipseLink 2.4.1, build 'v20121003-ad44345' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.persistence.jpa.jpql.util.iterator.NullListMutator
public final class NullListMutator
A null instance of a ListMutator.
| Method Summary | ||
|---|---|---|
void |
add(int index,
java.lang.Object item)
Adds the specified object to the original list. |
|
static
|
instance()
Returns the singleton instance of this NullListMutator. |
|
void |
remove(int index)
Removes the specified object from the original list. |
|
void |
set(int index,
java.lang.Object item)
Sets the specified object in the original list. |
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static <T> ListMutator<T> instance()
NullListMutator.
NullListMutator
public void add(int index,
java.lang.Object item)
add in interface ListMutator<java.lang.Object>index - The index of insertionitem - The element to insert into the listpublic void remove(int index)
remove in interface ListMutator<java.lang.Object>index - The index of the element to remove
public void set(int index,
java.lang.Object item)
set in interface ListMutator<java.lang.Object>index - The index of replacementitem - The element to replace the existing onepublic java.lang.String toString()
toString in class java.lang.Object
|
EclipseLink 2.4.1, build 'v20121003-ad44345' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||