E
- entry typeV
- value typeIterator<V>
RedissonBaseMapIterator
public abstract class BaseIterator<V,E> extends Object implements Iterator<V>
Modifier and Type | Field | Description |
---|---|---|
protected RedisClient |
client |
|
protected long |
nextIterPos |
|
protected E |
value |
Constructor | Description |
---|---|
BaseIterator() |
Modifier and Type | Method | 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() |
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–2018 The Redisson Project. All rights reserved.