org.apache.openjpa.kernel
public class QueryImpl.RemoveOnCloseResultList extends java.lang.Object implements ResultList
Constructor and Description |
---|
QueryImpl.RemoveOnCloseResultList(ResultList res) |
Modifier and Type | Method and Description |
---|---|
void |
add(int idx,
java.lang.Object o) |
boolean |
add(java.lang.Object o) |
boolean |
addAll(java.util.Collection c) |
boolean |
addAll(int idx,
java.util.Collection c) |
void |
clear() |
void |
close()
Close the list.
|
void |
close(boolean remove) |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection c) |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
get(int idx) |
ResultList |
getDelegate() |
java.lang.Object |
getUserObject()
Get the opaque user object attached to this receiver.
|
int |
hashCode() |
int |
indexOf(java.lang.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.
|
java.util.Iterator |
iterator() |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator |
listIterator() |
java.util.ListIterator |
listIterator(int idx) |
java.lang.Object |
remove(int idx) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection c) |
boolean |
retainAll(java.util.Collection c) |
java.lang.Object |
set(int idx,
java.lang.Object o) |
void |
setUserObject(java.lang.Object opaque)
Set the opaque user object to this receiver.
|
int |
size() |
java.util.List |
subList(int start,
int end) |
java.lang.Object[] |
toArray() |
java.lang.Object[] |
toArray(java.lang.Object[] a) |
java.lang.String |
toString() |
java.lang.Object |
writeReplace() |
public QueryImpl.RemoveOnCloseResultList(ResultList res)
public ResultList getDelegate()
public boolean isProviderOpen()
ResultList
isProviderOpen
in interface ResultList
public java.lang.Object getUserObject()
ResultList
getUserObject
in interface ResultList
public void setUserObject(java.lang.Object opaque)
ResultList
setUserObject
in interface ResultList
public boolean isClosed()
ResultList
isClosed
in interface ResultList
public void close()
ResultList
close
in interface ResultList
close
in interface Closeable
public void close(boolean remove)
public int size()
size
in interface java.util.Collection
size
in interface java.util.List
public boolean isEmpty()
isEmpty
in interface java.util.Collection
isEmpty
in interface java.util.List
public boolean contains(java.lang.Object o)
contains
in interface java.util.Collection
contains
in interface java.util.List
public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Collection
iterator
in interface java.util.List
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection
toArray
in interface java.util.List
public java.lang.Object[] toArray(java.lang.Object[] a)
toArray
in interface java.util.Collection
toArray
in interface java.util.List
public boolean add(java.lang.Object o)
add
in interface java.util.Collection
add
in interface java.util.List
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection
remove
in interface java.util.List
public boolean containsAll(java.util.Collection c)
containsAll
in interface java.util.Collection
containsAll
in interface java.util.List
public boolean addAll(java.util.Collection c)
addAll
in interface java.util.Collection
addAll
in interface java.util.List
public boolean addAll(int idx, java.util.Collection c)
addAll
in interface java.util.List
public boolean removeAll(java.util.Collection c)
removeAll
in interface java.util.Collection
removeAll
in interface java.util.List
public boolean retainAll(java.util.Collection c)
retainAll
in interface java.util.Collection
retainAll
in interface java.util.List
public void clear()
clear
in interface java.util.Collection
clear
in interface java.util.List
public java.lang.Object get(int idx)
get
in interface java.util.List
public java.lang.Object set(int idx, java.lang.Object o)
set
in interface java.util.List
public void add(int idx, java.lang.Object o)
add
in interface java.util.List
public java.lang.Object remove(int idx)
remove
in interface java.util.List
public int indexOf(java.lang.Object o)
indexOf
in interface java.util.List
public int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List
public java.util.ListIterator listIterator()
listIterator
in interface java.util.List
public java.util.ListIterator listIterator(int idx)
listIterator
in interface java.util.List
public java.util.List subList(int start, int end)
subList
in interface java.util.List
public boolean equals(java.lang.Object o)
equals
in interface java.util.Collection
equals
in interface java.util.List
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface java.util.Collection
hashCode
in interface java.util.List
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object writeReplace()