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