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 voidadd(int index, V value)voidadd(V e)abstract voidfastSet(int index, V value)abstract VgetValue(int index)booleanhasNext()booleanhasPrevious()Vnext()intnextIndex()Vprevious()intpreviousIndex()voidremove()abstract Vremove(int index)voidset(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:
hasPreviousin interfaceListIterator<V>
-
previous
public V previous()
- Specified by:
previousin interfaceListIterator<V>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfaceListIterator<V>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfaceListIterator<V>
-
set
public void set(V e)
- Specified by:
setin interfaceListIterator<V>
-
add
public void add(V e)
- Specified by:
addin interfaceListIterator<V>
-
-