public class LazyForwardResultList extends AbstractSequentialResultList implements ResultList
Constructor and Description |
---|
LazyForwardResultList(ResultObjectProvider rop) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the list.
|
boolean |
equals(Object other) |
Object |
get(int index) |
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 ListIterator |
itr(int index)
Implement this method and
List.size() . |
int |
size() |
List |
subList(int fromIndex,
int toIndex) |
Object |
writeReplace() |
contains, containsAll, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, toArray, toArray
add, add, addAll, addAll, assertOpen, clear, getUserObject, remove, remove, removeAll, retainAll, set, setUserObject
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getUserObject, setUserObject
add, add, addAll, addAll, clear, contains, containsAll, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public LazyForwardResultList(ResultObjectProvider rop)
public boolean isProviderOpen()
ResultList
isProviderOpen
in interface ResultList
public boolean isClosed()
ResultList
isClosed
in interface ResultList
public void close()
ResultList
close
in interface ResultList
close
in interface Closeable
public Object get(int index)
get
in interface List
get
in class AbstractSequentialResultList
protected ListIterator itr(int index)
AbstractSequentialResultList
List.size()
.itr
in class AbstractSequentialResultList
public int size()
size
in interface Collection
size
in interface List
public Object writeReplace() throws ObjectStreamException
ObjectStreamException
public int hashCode()
public boolean equals(Object other)
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.