public class QueryImpl.RemoveOnCloseResultList extends Object implements ResultList
| Constructor and Description |
|---|
RemoveOnCloseResultList(ResultList res) |
| Modifier and Type | Method and Description |
|---|---|
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() |
Object |
getUserObject()
Get the opaque user object attached to this receiver.
|
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) |
void |
setUserObject(Object opaque)
Set the opaque user object to this receiver.
|
int |
size() |
List |
subList(int start,
int end) |
Object[] |
toArray() |
Object[] |
toArray(Object[] a) |
String |
toString() |
Object |
writeReplace() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitreplaceAll, sort, spliteratorparallelStream, removeIf, streampublic RemoveOnCloseResultList(ResultList res)
public ResultList getDelegate()
public boolean isProviderOpen()
ResultListisProviderOpen in interface ResultListpublic Object getUserObject()
ResultListgetUserObject in interface ResultListpublic void setUserObject(Object opaque)
ResultListsetUserObject in interface ResultListpublic boolean isClosed()
ResultListisClosed in interface ResultListpublic void close()
ResultListclose 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()
public 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 Listpublic boolean addAll(int idx,
Collection c)
public 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 int lastIndexOf(Object o)
lastIndexOf in interface Listpublic ListIterator listIterator()
listIterator in interface Listpublic ListIterator listIterator(int idx)
listIterator in interface Listpublic boolean equals(Object o)
public int hashCode()
public Object writeReplace()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.