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

java.lang.Object
  |
  +--org.eclipse.emf.common.util.DelegatingEList.EIterator
        |
        +--org.eclipse.emf.common.util.DelegatingEList.NonResolvingEIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
DelegatingEList

protected class DelegatingEList.NonResolvingEIterator
extends DelegatingEList.EIterator

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


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

Constructor Detail

DelegatingEList.NonResolvingEIterator

protected DelegatingEList.NonResolvingEIterator()
Method Detail

next

public java.lang.Object next()
Returns the next object and advances the iterator. This implementation accesses the backing list directly.
Overrides:
next in class DelegatingEList.EIterator
Returns:
the next object.
Throws:
java.util.NoSuchElementException - if the iterator is done.

remove

public void remove()
Throws and exception.
Overrides:
remove in class DelegatingEList.EIterator
Throws:
UnsupportedOperationException - always because it's not supported.

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