org.apache.openjpa.lib.rop
Class AbstractResultList
java.lang.Object
   org.apache.openjpa.lib.rop.AbstractResultList
org.apache.openjpa.lib.rop.AbstractResultList
- All Implemented Interfaces: 
- java.io.Serializable, java.lang.Iterable, java.util.Collection, java.util.List, ResultList, Closeable
- Direct Known Subclasses: 
- AbstractNonSequentialResultList, AbstractSequentialResultList, ListResultList
- public abstract class AbstractResultList 
- extends java.lang.Object- implements ResultList
Abstract base class for read-only result lists.
- Author:
- Abe White
- See Also:
- Serialized Form
 
| Method Summary | 
|  void | add(int index,
    java.lang.Object element)
 | 
|  boolean | add(java.lang.Object o)
 | 
|  boolean | addAll(java.util.Collection c)
 | 
|  boolean | addAll(int index,
       java.util.Collection c)
 | 
| protected  void | assertOpen()
 | 
|  void | clear()
 | 
|  java.lang.Object | remove(int index)
 | 
|  boolean | remove(java.lang.Object o)
 | 
|  boolean | removeAll(java.util.Collection c)
 | 
|  boolean | retainAll(java.util.Collection c)
 | 
|  java.lang.Object | set(int index,
    java.lang.Object element)
 | 
|  java.util.List | subList(int from,
        int to)
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
| Methods inherited from interface java.util.List | 
| contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, size, toArray, toArray | 
 
AbstractResultList
public AbstractResultList()
add
public void add(int index,
                java.lang.Object element)
- 
- Specified by:
- addin interface- java.util.List
 
- 
 
add
public boolean add(java.lang.Object o)
- 
- Specified by:
- addin interface- java.util.Collection
- Specified by:
- addin interface- java.util.List
 
- 
 
addAll
public boolean addAll(java.util.Collection c)
- 
- Specified by:
- addAllin interface- java.util.Collection
- Specified by:
- addAllin interface- java.util.List
 
- 
 
addAll
public boolean addAll(int index,
                      java.util.Collection c)
- 
- Specified by:
- addAllin interface- java.util.List
 
- 
 
remove
public java.lang.Object remove(int index)
- 
- Specified by:
- removein interface- java.util.List
 
- 
 
remove
public boolean remove(java.lang.Object o)
- 
- Specified by:
- removein interface- java.util.Collection
- Specified by:
- removein interface- java.util.List
 
- 
 
removeAll
public boolean removeAll(java.util.Collection c)
- 
- Specified by:
- removeAllin interface- java.util.Collection
- Specified by:
- removeAllin interface- java.util.List
 
- 
 
retainAll
public boolean retainAll(java.util.Collection c)
- 
- Specified by:
- retainAllin interface- java.util.Collection
- Specified by:
- retainAllin interface- java.util.List
 
- 
 
set
public java.lang.Object set(int index,
                            java.lang.Object element)
- 
- Specified by:
- setin interface- java.util.List
 
- 
 
clear
public void clear()
- 
- Specified by:
- clearin interface- java.util.Collection
- Specified by:
- clearin interface- java.util.List
 
- 
 
subList
public java.util.List subList(int from,
                              int to)
- 
- Specified by:
- subListin interface- java.util.List
 
- 
 
assertOpen
protected void assertOpen()
- 
 
- 
 
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.