public class RedisList.RedisListIterator extends Object implements ListIterator<V>
Constructor and Description |
---|
RedisListIterator(RedisList redisList,
boolean isDesc) |
Modifier and Type | Method and Description |
---|---|
void |
add(V s) |
boolean |
hasNext() |
boolean |
hasPrevious() |
V |
next() |
int |
nextIndex() |
V |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(V s) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public RedisListIterator(RedisList redisList, boolean isDesc)
public boolean hasNext()
public V next()
public boolean hasPrevious()
hasPrevious
in interface ListIterator<V>
public V previous()
previous
in interface ListIterator<V>
public int nextIndex()
nextIndex
in interface ListIterator<V>
public int previousIndex()
previousIndex
in interface ListIterator<V>
public void remove()
public void set(V s)
set
in interface ListIterator<V>
public void add(V s)
add
in interface ListIterator<V>
Copyright © 2020 Voovan. All rights reserved.