|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--org.eclipse.emf.common.util.BasicEList | +--org.eclipse.emf.common.util.BasicEList.UnmodifiableEList
An unmodifiable version of BasicEList
.
Inner classes inherited from class org.eclipse.emf.common.util.BasicEList |
---|
BasicEList.EIterator, BasicEList.EListIterator, BasicEList.NonResolvingEIterator, BasicEList.NonResolvingEListIterator, BasicEList.UnmodifiableEList |
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,
java.lang.Object[] data)
Creates an initialized instance. |
Method Summary | |
---|---|
void |
add(int index,
java.lang.Object object)
Throws an exception. |
boolean |
add(java.lang.Object object)
Throws an exception. |
boolean |
addAll(java.util.Collection collection)
Throws an exception. |
boolean |
addAll(int index,
java.util.Collection collection)
Throws an exception. |
void |
clear()
Throws an exception. |
void |
grow(int minimumCapacity)
Throws an exception. |
java.util.Iterator |
iterator()
Returns the basic iterator . |
java.util.ListIterator |
listIterator()
Returns the basic list iterator . |
java.util.ListIterator |
listIterator(int index)
Returns the basic list iterator advanced to the index. |
java.lang.Object |
move(int targetIndex,
int sourceIndex)
Throws an exception. |
void |
move(int index,
java.lang.Object object)
Throws an exception. |
java.lang.Object |
remove(int index)
Throws an exception. |
boolean |
remove(java.lang.Object object)
Throws an exception. |
boolean |
removeAll(java.util.Collection collection)
Throws an exception. |
boolean |
retainAll(java.util.Collection collection)
Throws an exception. |
java.lang.Object |
set(int index,
java.lang.Object object)
Throws an exception. |
void |
shrink()
Throws an exception. |
Methods inherited from class org.eclipse.emf.common.util.BasicEList |
---|
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, java.lang.Object[] data)
size
- the size of the list.data
- the underlying storage of the list.Method Detail |
public java.lang.Object set(int index, java.lang.Object object)
set
in class BasicEList
UnsupportedOperationException
- always because it's not supported.public boolean add(java.lang.Object object)
add
in class BasicEList
UnsupportedOperationException
- always because it's not supported.public void add(int index, java.lang.Object object)
add
in class BasicEList
UnsupportedOperationException
- always because it's not supported.public boolean addAll(java.util.Collection collection)
addAll
in class BasicEList
UnsupportedOperationException
- always because it's not supported.public boolean addAll(int index, java.util.Collection collection)
addAll
in class BasicEList
UnsupportedOperationException
- always because it's not supported.public boolean remove(java.lang.Object object)
remove
in class BasicEList
UnsupportedOperationException
- always because it's not supported.public java.lang.Object remove(int index)
remove
in class BasicEList
UnsupportedOperationException
- always because it's not supported.public boolean removeAll(java.util.Collection collection)
removeAll
in class BasicEList
UnsupportedOperationException
- always because it's not supported.public boolean retainAll(java.util.Collection collection)
retainAll
in class BasicEList
UnsupportedOperationException
- always because it's not supported.public void clear()
clear
in class BasicEList
UnsupportedOperationException
- always because it's not supported.public void move(int index, java.lang.Object object)
move
in class BasicEList
UnsupportedOperationException
- always because it's not supported.public java.lang.Object move(int targetIndex, int sourceIndex)
move
in class BasicEList
UnsupportedOperationException
- always because it's not supported.public void shrink()
shrink
in class BasicEList
UnsupportedOperationException
- always because it's not supported.public void grow(int minimumCapacity)
grow
in class BasicEList
UnsupportedOperationException
- always because it's not supported.public java.util.Iterator iterator()
basic iterator
.iterator
in class BasicEList
public java.util.ListIterator listIterator()
basic list iterator
.listIterator
in class BasicEList
public java.util.ListIterator listIterator(int index)
basic list iterator
advanced to the index.listIterator
in class BasicEList
index
- the starting index.
|
Copyright 2001-2003 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |