org.eclipse.emf.common.util
Class ECollections.BasicEmptyUnmodifiableEList<E>
java.lang.Object
org.eclipse.emf.common.util.ECollections.BasicEmptyUnmodifiableEList<E>
- Direct Known Subclasses:
- ECollections.EmptyUnmodifiableEList, ECollections.EmptyUnmodifiableEMap
- Enclosing class:
- ECollections
private static class ECollections.BasicEmptyUnmodifiableEList<E>
- extends java.lang.Object
|
Field Summary |
(package private) java.util.ListIterator<E> |
listIterator
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
listIterator
java.util.ListIterator<E> listIterator
ECollections.BasicEmptyUnmodifiableEList
private ECollections.BasicEmptyUnmodifiableEList()
size
public int size()
isEmpty
public boolean isEmpty()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
get
public E get(int index)
contains
public boolean contains(java.lang.Object o)
indexOf
public int indexOf(java.lang.Object o)
lastIndexOf
public int lastIndexOf(java.lang.Object o)
iterator
public java.util.Iterator<E> iterator()
listIterator
public java.util.ListIterator<E> listIterator()
listIterator
public java.util.ListIterator<E> listIterator(int index)
subList
public java.util.List<E> subList(int fromIndex,
int toIndex)
toArray
public java.lang.Object[] toArray()
toArray
public <T> T[] toArray(T[] a)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
add
public boolean add(E o)
remove
public boolean remove(java.lang.Object o)
containsAll
public boolean containsAll(java.util.Collection<?> coll)
addAll
public boolean addAll(java.util.Collection<? extends E> coll)
removeAll
public boolean removeAll(java.util.Collection<?> coll)
retainAll
public boolean retainAll(java.util.Collection<?> coll)
clear
public void clear()
set
public E set(int index,
E element)
add
public void add(int index,
E element)
remove
public E remove(int index)
addAll
public boolean addAll(int index,
java.util.Collection<? extends E> collection)
move
public void move(int newPosition,
E o)
move
public E move(int newPosition,
int oldPosition)
Copyright © 2001-2010 Eclipse Foundation. All Rights Reserved.