Package org.redisson.iterator
Class RedissonListIterator<V>
- java.lang.Object
-
- org.redisson.iterator.RedissonListIterator<V>
-
- Type Parameters:
V
- value type
- All Implemented Interfaces:
Iterator<V>
,ListIterator<V>
public abstract class RedissonListIterator<V> extends Object implements ListIterator<V>
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description RedissonListIterator(int startIndex)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
add(int index, V value)
void
add(V e)
abstract void
fastSet(int index, V value)
abstract V
getValue(int index)
boolean
hasNext()
boolean
hasPrevious()
V
next()
int
nextIndex()
V
previous()
int
previousIndex()
void
remove()
abstract V
remove(int index)
void
set(V e)
-
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
-
getValue
public abstract V getValue(int index)
-
remove
public abstract V remove(int index)
-
fastSet
public abstract void fastSet(int index, V value)
-
add
public abstract void add(int index, V value)
-
hasNext
public boolean hasNext()
-
next
public V next()
-
remove
public void remove()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interfaceListIterator<V>
-
previous
public V previous()
- Specified by:
previous
in interfaceListIterator<V>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interfaceListIterator<V>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interfaceListIterator<V>
-
set
public void set(V e)
- Specified by:
set
in interfaceListIterator<V>
-
add
public void add(V e)
- Specified by:
add
in interfaceListIterator<V>
-
-