Package org.eclipse.m2m.atl.emftvm.util
Class LazyOrderedSet.PrependOrderedSet.PrependOrderedSetListIterator
- 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.LazyOrderedSet.PrependOrderedSet.PrependOrderedSetListIterator
-
- All Implemented Interfaces:
java.util.Iterator<E>,java.util.ListIterator<E>
- Enclosing class:
- LazyOrderedSet.PrependOrderedSet<E>
public class LazyOrderedSet.PrependOrderedSet.PrependOrderedSetListIterator extends LazyCollection.WrappedListIterator
Iteratorthat appends an object to the underlying collection, except when it already occurs in the underlying collection.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanbeforeHeadprotected booleaninnerPrev-
Fields inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.WrappedListIterator
inner
-
-
Constructor Summary
Constructors Constructor Description PrependOrderedSetListIterator()PrependOrderedSetListIterator(int index)
-
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
-
-
-
-
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
-
-