Package org.eclipse.m2m.atl.emftvm.util
Class LazyCollection.IteratorToListIterator
- java.lang.Object
-
- org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator<E>
-
- org.eclipse.m2m.atl.emftvm.util.LazyCollection.CachingIterator
-
- org.eclipse.m2m.atl.emftvm.util.LazyCollection.IteratorToListIterator
-
- All Implemented Interfaces:
java.util.Iterator<E>,java.util.ListIterator<E>
- Enclosing class:
- LazyCollection<E>
public class LazyCollection.IteratorToListIterator extends LazyCollection.CachingIterator implements java.util.ListIterator<E>
-
-
Field Summary
-
Fields inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.CachingIterator
i, inner
-
-
Constructor Summary
Constructors Constructor Description IteratorToListIterator()Creates a newLazyCollection.IteratorToListIteratorfor thisLazyList.IteratorToListIterator(int index)Creates a newLazyCollection.IteratorToListIteratorfor thisLazyList.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(E o)Unsupported.booleanhasPrevious()Enext()intnextIndex()Eprevious()intpreviousIndex()voidset(E o)Unsupported.-
Methods inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.CachingIterator
hasNext, updateCache
-
Methods inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator
remove
-
-
-
-
Constructor Detail
-
IteratorToListIterator
public IteratorToListIterator()
Creates a newLazyCollection.IteratorToListIteratorfor thisLazyList.
-
IteratorToListIterator
public IteratorToListIterator(int index)
Creates a newLazyCollection.IteratorToListIteratorfor thisLazyList.- Parameters:
index- the iterator starting index.
-
-
Method Detail
-
add
public void add(E o)
Unsupported.- Specified by:
addin interfacejava.util.ListIterator<E>- Parameters:
o- the object to add- Throws:
java.lang.UnsupportedOperationException
-
set
public void set(E o)
Unsupported.- Specified by:
setin interfacejava.util.ListIterator<E>- Parameters:
o- the object to set- Throws:
java.lang.UnsupportedOperationException
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfacejava.util.ListIterator<E>
-
next
public E next()
- Specified by:
nextin interfacejava.util.Iterator<E>- Specified by:
nextin interfacejava.util.ListIterator<E>- Overrides:
nextin classLazyCollection.CachingIterator
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfacejava.util.ListIterator<E>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfacejava.util.ListIterator<E>
-
-