public class SimpleResultList extends AbstractNonSequentialResultList
ResultList designed for use with result
object providers backed by efficient random-access data structures, such
as the ListResultObjectProvider. This result list does not
perform any caching.PAST_END| Constructor and Description |
|---|
SimpleResultList(ResultObjectProvider rop) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the list.
|
java.lang.Object |
getInternal(int index)
Implement this method and
List.size(). |
boolean |
isClosed()
Returns true if the list has been closed.
|
boolean |
isProviderOpen()
Returns true if the provider backing this list is open.
|
int |
size() |
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 SimpleResultList(ResultObjectProvider rop)
public boolean isProviderOpen()
ResultListpublic boolean isClosed()
ResultListpublic void close()
ResultListpublic 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.ObjectStreamExceptionCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.