|
|||||||||||
| 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.common.util.BasicEList
org.eclipse.emf.common.util.BasicEList.UnmodifiableEList
An unmodifiable version of BasicEList.
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.emf.common.util.BasicEList |
BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator, BasicEList.EListIterator, BasicEList.FastCompare, BasicEList.NonResolvingEIterator, BasicEList.NonResolvingEListIterator, BasicEList.UnmodifiableEList |
| Field Summary |
| Fields inherited from class org.eclipse.emf.common.util.BasicEList |
data, size |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
BasicEList.UnmodifiableEList(int size,
Object[] data)
Creates an initialized instance. |
|
| Method Summary | |
void |
add(int index,
Object object)
Throws an exception. |
boolean |
add(Object object)
Throws an exception. |
boolean |
addAll(Collection collection)
Throws an exception. |
boolean |
addAll(int index,
Collection collection)
Throws an exception. |
void |
clear()
Throws an exception. |
void |
grow(int minimumCapacity)
Throws an exception. |
Iterator |
iterator()
Returns the basic iterator. |
ListIterator |
listIterator()
Returns the basic list iterator. |
ListIterator |
listIterator(int index)
Returns the basic list iterator advanced to the index. |
Object |
move(int targetIndex,
int sourceIndex)
Throws an exception. |
void |
move(int index,
Object object)
Throws an exception. |
Object |
remove(int index)
Throws an exception. |
boolean |
remove(Object object)
Throws an exception. |
boolean |
removeAll(Collection collection)
Throws an exception. |
boolean |
retainAll(Collection collection)
Throws an exception. |
Object |
set(int index,
Object object)
Throws an exception. |
void |
shrink()
Throws an exception. |
| Methods inherited from class org.eclipse.emf.common.util.BasicEList |
addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, assign, basicGet, basicIterator, basicList, basicListIterator, basicListIterator, canContainNull, clone, contains, containsAll, data, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, get, getDuplicates, getNonDuplicates, hashCode, indexOf, isEmpty, isUnique, lastIndexOf, newData, resolve, setData, setUnique, size, toArray, toArray, toString, useEquals, validate |
| Methods inherited from class java.util.AbstractList |
removeRange, subList |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
subList |
| Constructor Detail |
public BasicEList.UnmodifiableEList(int size,
Object[] data)
size - the size of the list.data - the underlying storage of the list.| Method Detail |
public Object set(int index,
Object object)
set in interface Listset in class BasicEListindex - the position in question.object - the object to set.
UnsupportedOperationException - always because it's not supported.BasicEList.setUnique(int, java.lang.Object)public boolean add(Object object)
add in interface Listadd in class BasicEListobject - the object to be added.
UnsupportedOperationException - always because it's not supported.BasicEList.addUnique(Object)
public void add(int index,
Object object)
add in interface Listadd in class BasicEListobject - the object to be added.
UnsupportedOperationException - always because it's not supported.BasicEList.addUnique(int, Object)public boolean addAll(Collection collection)
addAll in interface ListaddAll in class BasicEListcollection - the collection of objects to be added.
UnsupportedOperationException - always because it's not supported.BasicEList.addAllUnique(Collection)
public boolean addAll(int index,
Collection collection)
addAll in interface ListaddAll in class BasicEListindex - the index at which to add.collection - the collection of objects to be added.
UnsupportedOperationException - always because it's not supported.BasicEList.addAllUnique(int, Collection)public boolean remove(Object object)
remove in interface Listremove in class BasicEListobject - the object to be removed.
UnsupportedOperationException - always because it's not supported.public Object remove(int index)
remove in interface Listremove in class BasicEListindex - the position of the object to remove.
UnsupportedOperationException - always because it's not supported.public boolean removeAll(Collection collection)
removeAll in interface ListremoveAll in class BasicEListcollection - the collection of objects to be removed.
UnsupportedOperationException - always because it's not supported.public boolean retainAll(Collection collection)
retainAll in interface ListretainAll in class BasicEListcollection - the collection of objects to be retained.
UnsupportedOperationException - always because it's not supported.public void clear()
clear in interface Listclear in class BasicEListUnsupportedOperationException - always because it's not supported.
public void move(int index,
Object object)
move in interface EListmove in class BasicEListindex - the new position for the object in the list.object - the object to be moved.
UnsupportedOperationException - always because it's not supported.
public Object move(int targetIndex,
int sourceIndex)
move in interface EListmove in class BasicEListtargetIndex - the new position for the object in the list.sourceIndex - the old position of the object in the list.
UnsupportedOperationException - always because it's not supported.public void shrink()
shrink in class BasicEListUnsupportedOperationException - always because it's not supported.BasicEList.grow(int)public void grow(int minimumCapacity)
grow in class BasicEListUnsupportedOperationException - always because it's not supported.BasicEList.shrink()public Iterator iterator()
basic iterator.
iterator in interface Listiterator in class BasicEListBasicEList.EIteratorpublic ListIterator listIterator()
basic list iterator.
listIterator in interface ListlistIterator in class BasicEListBasicEList.EListIteratorpublic ListIterator listIterator(int index)
basic list iterator advanced to the index.
listIterator in interface ListlistIterator in class BasicEListindex - the starting index.
BasicEList.EListIterator
|
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 | ||||||||||