Package org.eclipse.m2m.atl.emftvm.util
Class LazyList.PrependList.PrependListIterator
- java.lang.Object
-
- org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator<E>
-
- org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyListIterator<E>
-
- org.eclipse.m2m.atl.emftvm.util.LazyCollection.WrappedListIterator
-
- org.eclipse.m2m.atl.emftvm.util.LazyList.PrependList.PrependListIterator
-
- All Implemented Interfaces:
java.util.Iterator<E>,java.util.ListIterator<E>
- Enclosing class:
- LazyList.PrependList<E>
public class LazyList.PrependList.PrependListIterator extends LazyCollection.WrappedListIterator
ListIteratorthat appends an object to the underlying collection.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanbeforeHead-
Fields inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.WrappedListIterator
inner
-
-
Constructor Summary
Constructors Constructor Description PrependListIterator()Creates a newLazyList.PrependList.PrependListIterator.PrependListIterator(int index)Creates a newLazyList.PrependList.PrependListIterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()booleanhasPrevious()Enext()intnextIndex()Eprevious()intpreviousIndex()-
Methods inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyListIterator
add, set
-
Methods inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator
remove
-
-
-
-
Constructor Detail
-
PrependListIterator
public PrependListIterator()
Creates a newLazyList.PrependList.PrependListIterator.
-
PrependListIterator
public PrependListIterator(int index)
Creates a newLazyList.PrependList.PrependListIterator.- Parameters:
index- the iterator starting index.
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<E>- Specified by:
hasNextin interfacejava.util.ListIterator<E>- Overrides:
hasNextin classLazyCollection.WrappedListIterator
-
next
public E next()
- Specified by:
nextin interfacejava.util.Iterator<E>- Specified by:
nextin interfacejava.util.ListIterator<E>- Overrides:
nextin classLazyCollection.WrappedListIterator
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfacejava.util.ListIterator<E>- Overrides:
nextIndexin classLazyCollection.WrappedListIterator
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfacejava.util.ListIterator<E>- Overrides:
hasPreviousin classLazyCollection.WrappedListIterator
-
previous
public E previous()
- Specified by:
previousin interfacejava.util.ListIterator<E>- Overrides:
previousin classLazyCollection.WrappedListIterator
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfacejava.util.ListIterator<E>- Overrides:
previousIndexin classLazyCollection.WrappedListIterator
-
-