public class ListResultList extends AbstractResultList
ResultList
implementation that wraps a normal list.Constructor and Description |
---|
ListResultList(List list)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the list.
|
boolean |
contains(Object o) |
boolean |
containsAll(Collection c) |
Object |
get(int index) |
List |
getDelegate()
Return the wrapped list.
|
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 index) |
int |
size() |
List |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
Object[] |
toArray(Object[] a) |
String |
toString() |
Object |
writeReplace() |
add, add, addAll, addAll, assertOpen, clear, getUserObject, remove, remove, removeAll, retainAll, set, setUserObject
public ListResultList(List list)
public List getDelegate()
public boolean isProviderOpen()
ResultList
public boolean isClosed()
ResultList
public void close()
ResultList
public boolean contains(Object o)
public boolean containsAll(Collection c)
public Object get(int index)
public int indexOf(Object o)
public int lastIndexOf(Object o)
public int size()
public boolean isEmpty()
public Iterator iterator()
public ListIterator listIterator()
public ListIterator listIterator(int index)
public Object[] toArray()
public Object writeReplace()
public List subList(int fromIndex, int toIndex)
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.