|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.kernel.QueryImpl.RemoveOnCloseResultList
public class QueryImpl.RemoveOnCloseResultList
Result list that removes itself from the query's open result list when it is closed. Public for testing.
| Constructor Summary | |
|---|---|
QueryImpl.RemoveOnCloseResultList(ResultList res)
|
|
| Method Summary | |
|---|---|
void |
add(int idx,
Object o)
|
boolean |
add(Object o)
|
boolean |
addAll(Collection c)
|
boolean |
addAll(int idx,
Collection c)
|
void |
clear()
|
void |
close()
Close the list. |
void |
close(boolean remove)
|
boolean |
contains(Object o)
|
boolean |
containsAll(Collection c)
|
boolean |
equals(Object o)
|
Object |
get(int idx)
|
ResultList |
getDelegate()
|
int |
hashCode()
|
int |
indexOf(Object o)
|
boolean |
isClosed()
Returns true if the list has been closed. |
boolean |
isEmpty()
|
boolean |
isProviderOpen()
Returns true if the provider backing this list is open. |
Iterator |
iterator()
|
int |
lastIndexOf(Object o)
|
ListIterator |
listIterator()
|
ListIterator |
listIterator(int idx)
|
Object |
remove(int idx)
|
boolean |
remove(Object o)
|
boolean |
removeAll(Collection c)
|
boolean |
retainAll(Collection c)
|
Object |
set(int idx,
Object o)
|
int |
size()
|
List |
subList(int start,
int end)
|
Object[] |
toArray()
|
Object[] |
toArray(Object[] a)
|
String |
toString()
|
Object |
writeReplace()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QueryImpl.RemoveOnCloseResultList(ResultList res)
| Method Detail |
|---|
public ResultList getDelegate()
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 void close(boolean remove)
public int size()
size in interface Collectionsize in interface Listpublic boolean isEmpty()
isEmpty in interface CollectionisEmpty in interface Listpublic boolean contains(Object o)
contains in interface Collectioncontains in interface Listpublic Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in interface Listpublic Object[] toArray()
toArray in interface CollectiontoArray in interface Listpublic Object[] toArray(Object[] a)
toArray in interface CollectiontoArray in interface Listpublic boolean add(Object o)
add in interface Collectionadd in interface Listpublic boolean remove(Object o)
remove in interface Collectionremove in interface Listpublic boolean containsAll(Collection c)
containsAll in interface CollectioncontainsAll in interface Listpublic boolean addAll(Collection c)
addAll in interface CollectionaddAll in interface List
public boolean addAll(int idx,
Collection c)
addAll in interface Listpublic boolean removeAll(Collection c)
removeAll in interface CollectionremoveAll in interface Listpublic boolean retainAll(Collection c)
retainAll in interface CollectionretainAll in interface Listpublic void clear()
clear in interface Collectionclear in interface Listpublic Object get(int idx)
get in interface List
public Object set(int idx,
Object o)
set in interface List
public void add(int idx,
Object o)
add in interface Listpublic Object remove(int idx)
remove in interface Listpublic int indexOf(Object o)
indexOf in interface Listpublic int lastIndexOf(Object o)
lastIndexOf in interface Listpublic ListIterator listIterator()
listIterator in interface Listpublic ListIterator listIterator(int idx)
listIterator in interface List
public List subList(int start,
int end)
subList in interface Listpublic boolean equals(Object o)
equals in interface Collectionequals in interface Listequals in class Objectpublic int hashCode()
hashCode in interface CollectionhashCode in interface ListhashCode in class Objectpublic String toString()
toString in class Objectpublic Object writeReplace()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||