org.eclipse.emf.common.util
Class ECollections.BasicEmptyUnmodifiableEList<E>

java.lang.Object
  extended by 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
           
 
Constructor Summary
private ECollections.BasicEmptyUnmodifiableEList()
           
 
Method Summary
 boolean add(E o)
           
 void add(int index, E element)
           
 boolean addAll(java.util.Collection<? extends E> coll)
           
 boolean addAll(int index, java.util.Collection<? extends E> collection)
           
 void clear()
           
 boolean contains(java.lang.Object o)
           
 boolean containsAll(java.util.Collection<?> coll)
           
 boolean equals(java.lang.Object o)
           
 E get(int index)
           
 int hashCode()
           
 int indexOf(java.lang.Object o)
           
 boolean isEmpty()
           
 java.util.Iterator<E> iterator()
           
 int lastIndexOf(java.lang.Object o)
           
 java.util.ListIterator<E> listIterator()
           
 java.util.ListIterator<E> listIterator(int index)
           
 void move(int newPosition, E o)
           
 E move(int newPosition, int oldPosition)
           
 E remove(int index)
           
 boolean remove(java.lang.Object o)
           
 boolean removeAll(java.util.Collection<?> coll)
           
 boolean retainAll(java.util.Collection<?> coll)
           
 E set(int index, E element)
           
 int size()
           
 java.util.List<E> subList(int fromIndex, int toIndex)
           
 java.lang.Object[] toArray()
           
<T> T[]
toArray(T[] a)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

listIterator

java.util.ListIterator<E> listIterator
Constructor Detail

ECollections.BasicEmptyUnmodifiableEList

private ECollections.BasicEmptyUnmodifiableEList()
Method Detail

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.