public abstract class AbstractResultList extends AbstractList implements Closeable
An abstract result list for initializing objects lazily from a cursor
| Modifiers | Name | Description |
|---|---|---|
protected Iterator<Object> |
cursor |
|
protected boolean |
initialized |
|
protected List |
initializedObjects |
|
protected int |
offset |
| Constructor and description |
|---|
AbstractResultList(int offset, Iterator<Object> cursor) |
AbstractResultList(int offset, Integer size, Iterator<Object> cursor) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
add(int index, Object element) |
|
protected Object |
convertObject() |
|
protected Object |
convertObject(Object o) |
|
public Object |
get(int index) |
|
public Iterator<Object> |
getCursor() |
|
public boolean |
hasNext() |
|
protected void |
initializeFully() |
|
public boolean |
isEmpty() |
|
public Iterator |
iterator()Override to transform elements if necessary during iteration. |
|
public ListIterator |
listIterator() |
|
public ListIterator |
listIterator(int index) |
|
public Object |
next() |
|
protected abstract Object |
nextDecoded() |
|
public Object |
remove(int index) |
|
public void |
remove() |
|
public Object |
set(int index, Object o) |
|
public int |
size() |
| Methods inherited from class | Name |
|---|---|
class AbstractList |
add, add, addAll, addAll, clear, contains, containsAll, equals, forEach, get, getClass, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, notify, notifyAll, parallelStream, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, stream, subList, toArray, toArray, toArray, toString, wait, wait, wait |
Override to transform elements if necessary during iteration.