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.
|
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() |
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, setUserObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streampublic SimpleResultList(ResultObjectProvider rop)
public boolean isProviderOpen()
ResultListpublic boolean isClosed()
ResultListpublic void close()
ResultListpublic Object getInternal(int index)
AbstractNonSequentialResultListList.size(). Return AbstractNonSequentialResultList.PAST_END
if the index is out of bounds.getInternal in class AbstractNonSequentialResultListpublic int size()
public Object writeReplace() throws ObjectStreamException
ObjectStreamExceptionCopyright © 2006–2020 Apache Software Foundation. All rights reserved.