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, wait
replaceAll, sort, spliterator
parallelStream, removeIf, stream
public RemoveOnCloseResultList(ResultList res)
public ResultList getDelegate()
public boolean isProviderOpen()
ResultList
isProviderOpen
in interface ResultList
public Object getUserObject()
ResultList
getUserObject
in interface ResultList
public void setUserObject(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 Collection
size
in interface List
public boolean isEmpty()
isEmpty
in interface Collection
isEmpty
in interface List
public boolean contains(Object o)
contains
in interface Collection
contains
in interface List
public Iterator iterator()
public Object[] toArray()
toArray
in interface Collection
toArray
in interface List
public Object[] toArray(Object[] a)
toArray
in interface Collection
toArray
in interface List
public boolean add(Object o)
add
in interface Collection
add
in interface List
public boolean remove(Object o)
remove
in interface Collection
remove
in interface List
public boolean containsAll(Collection c)
containsAll
in interface Collection
containsAll
in interface List
public boolean addAll(Collection c)
addAll
in interface Collection
addAll
in interface List
public boolean addAll(int idx, Collection c)
public boolean removeAll(Collection c)
removeAll
in interface Collection
removeAll
in interface List
public boolean retainAll(Collection c)
retainAll
in interface Collection
retainAll
in interface List
public void clear()
clear
in interface Collection
clear
in interface List
public int lastIndexOf(Object o)
lastIndexOf
in interface List
public ListIterator listIterator()
listIterator
in interface List
public ListIterator listIterator(int idx)
listIterator
in interface List
public boolean equals(Object o)
public int hashCode()
public Object writeReplace()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.