|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.lib.rop.AbstractResultList org.apache.openjpa.lib.rop.ListResultList
public class ListResultList
A basic ResultList
implementation that wraps a normal list.
Constructor Summary | |
---|---|
ListResultList(List list)
Constructor. |
Method Summary | |
---|---|
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()
|
Methods inherited from class org.apache.openjpa.lib.rop.AbstractResultList |
---|
add, add, addAll, addAll, assertOpen, clear, getUserObject, remove, remove, removeAll, retainAll, set, setUserObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
equals, hashCode |
Constructor Detail |
---|
public ListResultList(List list)
Method Detail |
---|
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[] toArray(Object[] a)
public Object writeReplace()
public String toString()
toString
in class Object
public List subList(int fromIndex, int toIndex)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |