org.eclipse.emf.common.util
Class BasicEList.NonResolvingEIterator

java.lang.Object
  extended byorg.eclipse.emf.common.util.BasicEList.EIterator
      extended byorg.eclipse.emf.common.util.BasicEList.NonResolvingEIterator
All Implemented Interfaces:
Iterator
Enclosing class:
BasicEList

protected class BasicEList.NonResolvingEIterator
extends BasicEList.EIterator

An extended read-only iterator that does not resolve objects.


Field Summary
 
Fields inherited from class org.eclipse.emf.common.util.BasicEList.EIterator
cursor, expectedModCount, lastCursor
 
Constructor Summary
protected BasicEList.NonResolvingEIterator()
           
 
Method Summary
 Object next()
          Returns the next object and advances the iterator.
 void remove()
          Throws and exception.
 
Methods inherited from class org.eclipse.emf.common.util.BasicEList.EIterator
checkModCount, hasNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicEList.NonResolvingEIterator

protected BasicEList.NonResolvingEIterator()
Method Detail

next

public Object next()
Returns the next object and advances the iterator. This implementation accesses the data storage directly.

Specified by:
next in interface Iterator
Overrides:
next in class BasicEList.EIterator
Returns:
the next object.
Throws:
NoSuchElementException - if the iterator is done.

remove

public void remove()
Throws and exception.

Specified by:
remove in interface Iterator
Overrides:
remove in class BasicEList.EIterator
Throws:
UnsupportedOperationException - always because it's not supported.

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