Package org.eclipse.m2m.atl.emftvm.util
Class LazyList.InsertAtList.InsertAtIterator
- java.lang.Object
-
- org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator<E>
-
- org.eclipse.m2m.atl.emftvm.util.LazyCollection.WrappedIterator
-
- org.eclipse.m2m.atl.emftvm.util.LazyList.InsertAtList.InsertAtIterator
-
- All Implemented Interfaces:
java.util.Iterator<E>
- Enclosing class:
- LazyList.InsertAtList<E>
public class LazyList.InsertAtList.InsertAtIterator extends LazyCollection.WrappedIterator
Inserts an element into the underlying collection at the given index. List index starts at 0.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
i
-
Fields inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.WrappedIterator
inner
-
-
Constructor Summary
Constructors Constructor Description InsertAtIterator()
Creates a newLazyList.InsertAtList.InsertAtIterator
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
E
next()
-
Methods inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator
remove
-
-
-
-
Constructor Detail
-
InsertAtIterator
public InsertAtIterator()
Creates a newLazyList.InsertAtList.InsertAtIterator
.
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<E>
- Overrides:
hasNext
in classLazyCollection.WrappedIterator
-
next
public E next()
- Specified by:
next
in interfacejava.util.Iterator<E>
- Overrides:
next
in classLazyCollection.WrappedIterator
-
-