Package com.tangosol.util
Class ImmutableMultiList.MultiIterator
- java.lang.Object
-
- com.tangosol.util.ImmutableMultiList.MultiIterator
-
- All Implemented Interfaces:
Iterator
,ListIterator
- Enclosing class:
- ImmutableMultiList
protected class ImmutableMultiList.MultiIterator extends Object implements ListIterator
ListIterator implementation based on the ImmutableMultiList.
-
-
Constructor Summary
Constructors Constructor Description MultiIterator(int i)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Object o)
boolean
hasNext()
boolean
hasPrevious()
Object
next()
int
nextIndex()
Object
previous()
int
previousIndex()
void
remove()
void
set(Object o)
-
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
-
-
-
-
Method Detail
-
remove
public void remove()
- Specified by:
remove
in interfaceIterator
- Specified by:
remove
in interfaceListIterator
-
add
public void add(Object o)
- Specified by:
add
in interfaceListIterator
-
set
public void set(Object o)
- Specified by:
set
in interfaceListIterator
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceIterator
- Specified by:
hasNext
in interfaceListIterator
-
next
public Object next()
- Specified by:
next
in interfaceIterator
- Specified by:
next
in interfaceListIterator
-
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interfaceListIterator
-
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interfaceListIterator
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interfaceListIterator
-
previous
public Object previous()
- Specified by:
previous
in interfaceListIterator
-
-