Package org.eclipse.m2m.atl.emftvm.util
Class LazyOrderedSet.ExcludingOrderedSet.ExcludingOrderedSetListIterator
java.lang.Object
org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator<E>
org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyListIterator<E>
LazyCollection<E>.WrappedListIterator
org.eclipse.m2m.atl.emftvm.util.LazyOrderedSet.ExcludingOrderedSet.ExcludingOrderedSetListIterator
- All Implemented Interfaces:
Iterator<E>
,ListIterator<E>
- Enclosing class:
- LazyOrderedSet.ExcludingOrderedSet<E>
public class LazyOrderedSet.ExcludingOrderedSet.ExcludingOrderedSetListIterator
extends LazyCollection<E>.WrappedListIterator
ListIterator
that excludes a given object.-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected E
protected boolean
protected E
protected boolean
Fields inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.WrappedListIterator
inner
-
Constructor Summary
ConstructorDescriptionCreates a newLazyCollection<E>.ExcludingIterator
.ExcludingOrderedSetListIterator
(int index) Creates a newLazyCollection<E>.ExcludingIterator
. -
Method Summary
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
Methods inherited from interface java.util.ListIterator
remove
-
Field Details
-
i
protected int i -
next
-
nextSet
protected boolean nextSet -
prev
-
prevSet
protected boolean prevSet
-
-
Constructor Details
-
ExcludingOrderedSetListIterator
public ExcludingOrderedSetListIterator()Creates a newLazyCollection<E>.ExcludingIterator
. -
ExcludingOrderedSetListIterator
public ExcludingOrderedSetListIterator(int index) Creates a newLazyCollection<E>.ExcludingIterator
.- Parameters:
index
- the iterator starting index.
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<E>
- Specified by:
hasNext
in interfaceListIterator<E>
- Overrides:
hasNext
in classLazyCollection<E>.WrappedListIterator
-
next
- Specified by:
next
in interfaceIterator<E>
- Specified by:
next
in interfaceListIterator<E>
- Overrides:
next
in classLazyCollection<E>.WrappedListIterator
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<E>
- Overrides:
nextIndex
in classLazyCollection<E>.WrappedListIterator
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<E>
- Overrides:
hasPrevious
in classLazyCollection<E>.WrappedListIterator
-
previous
- Specified by:
previous
in interfaceListIterator<E>
- Overrides:
previous
in classLazyCollection<E>.WrappedListIterator
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<E>
- Overrides:
previousIndex
in classLazyCollection<E>.WrappedListIterator
-