Class LazyOrderedSet.InsertAtOrderedSet.InsertAtOrderedSetListIterator
java.lang.Object
org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator<E>
org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyListIterator<E>
LazyCollection<E>.org.eclipse.m2m.atl.emftvm.util.LazyCollection.WrappedListIterator
org.eclipse.m2m.atl.emftvm.util.LazyOrderedSet.InsertAtOrderedSet.InsertAtOrderedSetListIterator
- All Implemented Interfaces:
Iterator<E>, ListIterator<E>
- Enclosing class:
LazyOrderedSet.InsertAtOrderedSet<E>
public class LazyOrderedSet.InsertAtOrderedSet.InsertAtOrderedSetListIterator
extends LazyCollection<E>.WrappedListIterator
Iterator that appends an object to the underlying
collection, except when it already occurs in the underlying collection.-
Field Summary
FieldsFields inherited from class LazyCollection.WrappedListIterator
inner -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newLazyOrderedSet.InsertAtOrderedSet<E>.InsertAtOrderedSetListIterator.InsertAtOrderedSetListIterator(int index) Creates a newLazyOrderedSet.InsertAtOrderedSet<E>.InsertAtOrderedSetListIterator. -
Method Summary
Methods inherited from class LazyCollection.ReadOnlyListIterator
add, setMethods 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
remove
-
Field Details
-
i
protected int i -
innerNext
protected boolean innerNext
-
-
Constructor Details
-
InsertAtOrderedSetListIterator
public InsertAtOrderedSetListIterator()Creates a newLazyOrderedSet.InsertAtOrderedSet<E>.InsertAtOrderedSetListIterator. -
InsertAtOrderedSetListIterator
public InsertAtOrderedSetListIterator(int index) Creates a newLazyOrderedSet.InsertAtOrderedSet<E>.InsertAtOrderedSetListIterator.- Parameters:
index- the iterator starting index.
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<E>- Specified by:
hasNextin interfaceListIterator<E>- Overrides:
hasNextin classLazyCollection<E>.WrappedListIterator
-
next
- Specified by:
nextin interfaceIterator<E>- Specified by:
nextin interfaceListIterator<E>- Overrides:
nextin classLazyCollection<E>.WrappedListIterator
-
nextIndex
public int nextIndex()- Specified by:
nextIndexin interfaceListIterator<E>- Overrides:
nextIndexin classLazyCollection<E>.WrappedListIterator
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceListIterator<E>- Overrides:
hasPreviousin classLazyCollection<E>.WrappedListIterator
-
previous
- Specified by:
previousin interfaceListIterator<E>- Overrides:
previousin classLazyCollection<E>.WrappedListIterator
-
previousIndex
public int previousIndex()- Specified by:
previousIndexin interfaceListIterator<E>- Overrides:
previousIndexin classLazyCollection<E>.WrappedListIterator
-