|
||||||||||
| 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 ResultListpublic boolean isClosed()
ResultList
isClosed in interface ResultListpublic void close()
ResultList
close in interface ResultListclose in interface Closeablepublic java.lang.Object get(int index)
get in interface java.util.Listget in class AbstractSequentialResultListprotected java.util.ListIterator itr(int index)
AbstractSequentialResultListList.size().
itr in class AbstractSequentialResultListpublic int size()
size in interface java.util.Collectionsize in interface java.util.List
public java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionpublic int hashCode()
hashCode in interface java.util.CollectionhashCode in interface java.util.ListhashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in interface java.util.Collectionequals in interface java.util.Listequals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||