|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.lib.rop.AbstractResultList
org.apache.openjpa.lib.rop.AbstractSequentialResultList
org.apache.openjpa.lib.rop.LazyForwardResultList
public class LazyForwardResultList
Lazy forward-only result list.
Constructor Summary | |
---|---|
LazyForwardResultList(ResultObjectProvider rop)
|
Method Summary | |
---|---|
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.lang.Object |
writeReplace()
|
Methods inherited from class org.apache.openjpa.lib.rop.AbstractSequentialResultList |
---|
contains, containsAll, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, toArray, toArray |
Methods inherited from class org.apache.openjpa.lib.rop.AbstractResultList |
---|
add, add, addAll, addAll, assertOpen, clear, remove, remove, removeAll, retainAll, set, subList |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, clear, contains, containsAll, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArray |
Constructor Detail |
---|
public LazyForwardResultList(ResultObjectProvider rop)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |