org.eclipse.emf.common.util
Class AbstractEList.NonResolvingEIterator<E1>

java.lang.Object
  extended by org.eclipse.emf.common.util.AbstractEList.EIterator<E1>
      extended by org.eclipse.emf.common.util.AbstractEList.NonResolvingEIterator<E1>
All Implemented Interfaces:
java.util.Iterator<E1>
Direct Known Subclasses:
ArrayDelegatingEList.NonResolvingEIterator, BasicEList.NonResolvingEIterator, DelegatingEList.NonResolvingEIterator
Enclosing class:
AbstractEList<E>

protected class AbstractEList.NonResolvingEIterator<E1>
extends AbstractEList.EIterator<E1>

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


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

Constructor Detail

AbstractEList.NonResolvingEIterator

protected AbstractEList.NonResolvingEIterator()
Method Detail

doNext

protected E doNext()
Returns the next object and advances the iterator. This implementation accesses the data storage directly.

Overrides:
doNext in class AbstractEList.EIterator<E1>
Returns:
the next object.
Throws:
java.util.NoSuchElementException - if the iterator is done.

remove

public void remove()
Throws and exception.

Specified by:
remove in interface java.util.Iterator<E1>
Overrides:
remove in class AbstractEList.EIterator<E1>
Throws:
java.lang.UnsupportedOperationException - always because it's not supported.

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