Class LazyCollection.IteratorToListIterator
java.lang.Object
org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator<E>
LazyCollection<E>.org.eclipse.m2m.atl.emftvm.util.LazyCollection.CachingIterator
org.eclipse.m2m.atl.emftvm.util.LazyCollection.IteratorToListIterator
- All Implemented Interfaces:
Iterator<E>, ListIterator<E>
- Enclosing class:
LazyCollection<E>
public class LazyCollection.IteratorToListIterator
extends LazyCollection<E>.CachingIterator
implements ListIterator<E>
-
Field Summary
Fields inherited from class LazyCollection.CachingIterator
i, inner -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newLazyCollection<E>.IteratorToListIteratorfor thisLazyList.IteratorToListIterator(int index) Creates a newLazyCollection<E>.IteratorToListIteratorfor thisLazyList. -
Method Summary
Methods inherited from class LazyCollection.CachingIterator
hasNext, updateCacheMethods inherited from class LazyCollection.ReadOnlyIterator
removeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemainingMethods inherited from interface ListIterator
hasNext, remove
-
Constructor Details
-
IteratorToListIterator
public IteratorToListIterator()Creates a newLazyCollection<E>.IteratorToListIteratorfor thisLazyList. -
IteratorToListIterator
public IteratorToListIterator(int index) Creates a newLazyCollection<E>.IteratorToListIteratorfor thisLazyList.- Parameters:
index- the iterator starting index.
-
-
Method Details
-
add
Unsupported.- Specified by:
addin interfaceListIterator<E>- Parameters:
o- the object to add- Throws:
UnsupportedOperationException
-
set
Unsupported.- Specified by:
setin interfaceListIterator<E>- Parameters:
o- the object to set- Throws:
UnsupportedOperationException
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceListIterator<E>
-
next
- Specified by:
nextin interfaceIterator<E>- Specified by:
nextin interfaceListIterator<E>- Overrides:
nextin classLazyCollection<E>.CachingIterator
-
nextIndex
public int nextIndex()- Specified by:
nextIndexin interfaceListIterator<E>
-
previous
- Specified by:
previousin interfaceListIterator<E>
-
previousIndex
public int previousIndex()- Specified by:
previousIndexin interfaceListIterator<E>
-