|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
org.eclipse.emf.edit.provider.ItemProviderAdapter.ModifiableSingletonEList
A single-element implementation of EList. The element can be modified, but
the size of the list may not be changed.
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Method Summary | |
|---|---|
boolean |
contains(java.lang.Object o)
|
java.lang.Object |
get(int index)
|
java.lang.Object |
move(int targetIndex,
int sourceIndex)
Moves the object from the old position to the new position. |
void |
move(int index,
java.lang.Object o)
Moves the object to the new position, if is in the list. |
java.lang.Object |
set(int index,
java.lang.Object element)
|
int |
size()
|
| Methods inherited from class java.util.AbstractList |
|---|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
add, add, addAll, addAll, clear, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, subList, toArray, toArray |
| Method Detail |
public int size()
size in interface java.util.Listpublic java.lang.Object get(int index)
get in interface java.util.List
public java.lang.Object set(int index,
java.lang.Object element)
set in interface java.util.Listpublic boolean contains(java.lang.Object o)
contains in interface java.util.List
public void move(int index,
java.lang.Object o)
EList
move in interface EListindex - the position of the object after the move.o - the object to move.
public java.lang.Object move(int targetIndex,
int sourceIndex)
EList
move in interface EListtargetIndex - the position of the object after the move.sourceIndex - the position of the object before the move.
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||