E
- entry typeV
- value typepublic abstract class BaseIterator<V,E> extends Object implements Iterator<V>
Modifier and Type | Field and Description |
---|---|
protected RedisClient |
client |
protected long |
nextIterPos |
protected E |
value |
Constructor and Description |
---|
BaseIterator() |
Modifier and Type | Method and Description |
---|---|
protected abstract V |
getValue(E entry) |
boolean |
hasNext() |
protected abstract ScanResult<E> |
iterator(RedisClient client,
long nextIterPos) |
V |
next() |
void |
remove() |
protected abstract void |
remove(E value) |
protected boolean |
tryAgain() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected long nextIterPos
protected RedisClient client
protected E value
protected boolean tryAgain()
protected abstract ScanResult<E> iterator(RedisClient client, long nextIterPos)
protected abstract void remove(E value)
Copyright © 2014–2020 Redisson. All rights reserved.