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(java.lang.Object other) |
java.lang.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 java.util.ListIterator |
itr(int index)
Implement this method and
List.size() . |
int |
size() |
java.util.List |
subList(int fromIndex,
int toIndex) |
java.lang.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
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 java.lang.Object get(int index)
get
in interface java.util.List
get
in class AbstractSequentialResultList
protected java.util.ListIterator itr(int index)
AbstractSequentialResultList
List.size()
.itr
in class AbstractSequentialResultList
public int size()
size
in interface java.util.Collection
size
in interface java.util.List
public java.lang.Object writeReplace() throws java.io.ObjectStreamException
java.io.ObjectStreamException
public int hashCode()
hashCode
in interface java.util.Collection
hashCode
in interface java.util.List
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in interface java.util.Collection
equals
in interface java.util.List
equals
in class java.lang.Object
public java.util.List subList(int fromIndex, int toIndex)
subList
in interface java.util.List