public class RandomAccessResultList extends AbstractNonSequentialResultList
PAST_END
Constructor and Description |
---|
RandomAccessResultList(ResultObjectProvider rop) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the list.
|
boolean |
equals(Object other) |
protected Object |
getInternal(int index)
Implement this method and
List.size() . |
int |
hashCode() |
boolean |
isClosed()
Returns true if the list has been closed.
|
boolean |
isProviderOpen()
Returns true if the provider backing this list is open.
|
protected Map |
newRowMap()
Override this method to control what kind of map is used for
the instantiated rows.
|
int |
size() |
String |
toString() |
Object |
writeReplace() |
contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, subList, toArray, toArray
add, add, addAll, addAll, assertOpen, clear, getUserObject, remove, remove, removeAll, retainAll, set, setUserObject
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
replaceAll, sort, spliterator
parallelStream, removeIf, stream
public RandomAccessResultList(ResultObjectProvider rop)
protected Map newRowMap()
public boolean isProviderOpen()
ResultList
public boolean isClosed()
ResultList
public void close()
ResultList
protected Object getInternal(int index)
AbstractNonSequentialResultList
List.size()
. Return AbstractNonSequentialResultList.PAST_END
if the index is out of bounds.getInternal
in class AbstractNonSequentialResultList
public int size()
public Object writeReplace() throws ObjectStreamException
ObjectStreamException
public int hashCode()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.