org.eclipse.emf.common.util
Class ECollections

java.lang.Object
  |
  +--org.eclipse.emf.common.util.ECollections

public class ECollections
extends java.lang.Object

Support for empty and unmodifiable ELists.


Field Summary
static EList EMPTY_ELIST
          An unmodifiable empty list with an efficient reusable iterator.
 
Constructor Summary
ECollections()
           
 
Method Summary
static EList unmodifiableEList(EList list)
          Returns an unmodifiable view of the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_ELIST

public static final EList EMPTY_ELIST
An unmodifiable empty list with an efficient reusable iterator.
Constructor Detail

ECollections

public ECollections()
Method Detail

unmodifiableEList

public static EList unmodifiableEList(EList list)
Returns an unmodifiable view of the list.
Returns:
an unmodifiable view of the list.

Copyright 2001-2002 IBM Corporation and others.
All Rights Reserved.