public class WindowResultList extends AbstractNonSequentialResultList
PAST_END| Constructor and Description |
|---|
WindowResultList(ResultObjectProvider rop) |
WindowResultList(ResultObjectProvider rop,
int windowSize) |
| 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 WindowResultList(ResultObjectProvider rop)
public WindowResultList(ResultObjectProvider rop, int windowSize)
public boolean isProviderOpen()
ResultListpublic boolean isClosed()
ResultListpublic void close()
ResultListpublic int size()
public Object getInternal(int index)
AbstractNonSequentialResultListList.size(). Return AbstractNonSequentialResultList.PAST_END
if the index is out of bounds.getInternal in class AbstractNonSequentialResultListpublic Object writeReplace() throws ObjectStreamException
ObjectStreamExceptionCopyright © 2006–2022 Apache Software Foundation. All rights reserved.