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, toArray
add, add, addAll, addAll, assertOpen, clear, getUserObject, remove, remove, removeAll, retainAll, set, setUserObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, replaceAll, sort, spliterator
parallelStream, removeIf, stream
public WindowResultList(ResultObjectProvider rop)
public WindowResultList(ResultObjectProvider rop, int windowSize)
public boolean isProviderOpen()
ResultList
public boolean isClosed()
ResultList
public void close()
ResultList
public int size()
public Object getInternal(int index)
AbstractNonSequentialResultList
List.size()
. Return AbstractNonSequentialResultList.PAST_END
if the index is out of bounds.getInternal
in class AbstractNonSequentialResultList
public Object writeReplace() throws ObjectStreamException
ObjectStreamException
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.