- java.lang.Object
-
- swim.structure.collections.ValueIterator<T>
-
- swim.structure.collections.ValueListIterator<T>
-
- All Implemented Interfaces:
Iterator<T>,ListIterator<T>
public class ValueListIterator<T> extends ValueIterator<T> implements ListIterator<T>
-
-
Field Summary
-
Fields inherited from class swim.structure.collections.ValueIterator
inner, valueForm
-
-
Constructor Summary
Constructors Constructor Description ValueListIterator(ListIterator<? extends Value> inner, Form<T> valueForm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(T newObject)booleanhasPrevious()ListIterator<Value>inner()intnextIndex()Tprevious()intpreviousIndex()voidset(T newObject)<T2> ValueListIterator<T2>valueClass(Class<T2> valueClass)<T2> ValueListIterator<T2>valueForm(Form<T2> valueForm)-
Methods inherited from class swim.structure.collections.ValueIterator
hasNext, next, remove, valueForm
-
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
hasNext, next, remove
-
-
-
-
Constructor Detail
-
ValueListIterator
public ValueListIterator(ListIterator<? extends Value> inner, Form<T> valueForm)
-
-
Method Detail
-
valueForm
public <T2> ValueListIterator<T2> valueForm(Form<T2> valueForm)
- Overrides:
valueFormin classValueIterator<T>
-
valueClass
public <T2> ValueListIterator<T2> valueClass(Class<T2> valueClass)
- Overrides:
valueClassin classValueIterator<T>
-
inner
public ListIterator<Value> inner()
- Overrides:
innerin classValueIterator<T>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfaceListIterator<T>
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfaceListIterator<T>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfaceListIterator<T>
-
previous
public T previous()
- Specified by:
previousin interfaceListIterator<T>
-
add
public void add(T newObject)
- Specified by:
addin interfaceListIterator<T>
-
set
public void set(T newObject)
- Specified by:
setin interfaceListIterator<T>
-
-