|
|||||||||||
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.DelegatingEList
org.eclipse.emf.common.util.DelegatingEList.UnmodifiableEList
An unmodifiable version of DelegatingEList
.
Nested Class Summary |
Nested classes inherited from class org.eclipse.emf.common.util.DelegatingEList |
DelegatingEList.EIterator, DelegatingEList.EListIterator, DelegatingEList.NonResolvingEIterator, DelegatingEList.NonResolvingEListIterator, DelegatingEList.UnmodifiableEList |
Field Summary | |
protected List |
underlyingList
|
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
DelegatingEList.UnmodifiableEList(List underlyingList)
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. |
protected List |
delegateList()
Returns the list that acts as the backing store. |
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. |
Methods inherited from class org.eclipse.emf.common.util.DelegatingEList |
addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, basicGet, basicIterator, basicList, basicListIterator, basicListIterator, canContainNull, contains, containsAll, delegateAdd, delegateAdd, delegateBasicList, delegateClear, delegateContains, delegateContainsAll, delegateEquals, delegateGet, delegateHashCode, delegateIndexOf, delegateIsEmpty, delegateIterator, delegateLastIndexOf, delegateListIterator, delegateRemove, delegateSet, delegateSize, delegateToArray, delegateToArray, delegateToString, didAdd, didChange, didClear, didMove, didRemove, didSet, doClear, equalObjects, equals, get, getDuplicates, getNonDuplicates, hashCode, indexOf, isEmpty, isUnique, lastIndexOf, resolve, setUnique, size, toArray, toArray, toString, useEquals, validate |
Methods inherited from class java.util.AbstractList |
removeRange, subList |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
subList |
Field Detail |
protected List underlyingList
Constructor Detail |
public DelegatingEList.UnmodifiableEList(List underlyingList)
underlyingList
- the backing store list.Method Detail |
protected List delegateList()
DelegatingEList
delegateList
in class DelegatingEList
public Object set(int index, Object object)
set
in interface List
set
in class DelegatingEList
index
- the position in question.object
- the object to set.
UnsupportedOperationException
- always because it's not supported.DelegatingEList.setUnique(int, java.lang.Object)
public boolean add(Object object)
add
in interface List
add
in class DelegatingEList
object
- the object to be added.
UnsupportedOperationException
- always because it's not supported.DelegatingEList.addUnique(Object)
public void add(int index, Object object)
add
in interface List
add
in class DelegatingEList
object
- the object to be added.
UnsupportedOperationException
- always because it's not supported.DelegatingEList.addUnique(int, Object)
public boolean addAll(Collection collection)
addAll
in interface List
addAll
in class DelegatingEList
collection
- the collection of objects to be added.
UnsupportedOperationException
- always because it's not supported.DelegatingEList.addAllUnique(Collection)
public boolean addAll(int index, Collection collection)
addAll
in interface List
addAll
in class DelegatingEList
index
- the index at which to add.collection
- the collection of objects to be added.
UnsupportedOperationException
- always because it's not supported.DelegatingEList.addAllUnique(int, Collection)
public boolean remove(Object object)
remove
in interface List
remove
in class DelegatingEList
object
- the object to be removed.
UnsupportedOperationException
- always because it's not supported.public Object remove(int index)
remove
in interface List
remove
in class DelegatingEList
index
- the position of the object to remove.
UnsupportedOperationException
- always because it's not supported.public boolean removeAll(Collection collection)
removeAll
in interface List
removeAll
in class DelegatingEList
collection
- the collection of objects to be removed.
UnsupportedOperationException
- always because it's not supported.public boolean retainAll(Collection collection)
retainAll
in interface List
retainAll
in class DelegatingEList
collection
- the collection of objects to be retained.
UnsupportedOperationException
- always because it's not supported.public void clear()
clear
in interface List
clear
in class DelegatingEList
UnsupportedOperationException
- always because it's not supported.public void move(int index, Object object)
move
in interface EList
move
in class DelegatingEList
index
- 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 EList
move
in class DelegatingEList
targetIndex
- 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 Iterator iterator()
basic iterator
.
iterator
in interface List
iterator
in class DelegatingEList
DelegatingEList.EIterator
public ListIterator listIterator()
basic list iterator
.
listIterator
in interface List
listIterator
in class DelegatingEList
DelegatingEList.EListIterator
public ListIterator listIterator(int index)
basic list iterator
advanced to the index.
listIterator
in interface List
listIterator
in class DelegatingEList
index
- the starting index.
DelegatingEList.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 |