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(java.lang.Object other) |
protected java.lang.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 java.util.Map |
newRowMap()
Override this method to control what kind of map is used for
the instantiated rows.
|
int |
size() |
java.lang.String |
toString() |
java.lang.Object |
writeReplace() |
contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, subList, toArray, toArrayadd, add, addAll, addAll, assertOpen, clear, getUserObject, remove, remove, removeAll, retainAll, set, setUserObjectpublic RandomAccessResultList(ResultObjectProvider rop)
protected java.util.Map newRowMap()
public boolean isProviderOpen()
ResultListpublic boolean isClosed()
ResultListpublic void close()
ResultListprotected java.lang.Object getInternal(int index)
AbstractNonSequentialResultListList.size(). Return AbstractNonSequentialResultList.PAST_END
if the index is out of bounds.getInternal in class AbstractNonSequentialResultListpublic int size()
public java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.CollectionhashCode in interface java.util.ListhashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in interface java.util.Collectionequals in interface java.util.Listequals in class java.lang.ObjectCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.