org.apache.openjpa.lib.rop
Class AbstractResultList<E>
java.lang.Object
   org.apache.openjpa.lib.rop.AbstractResultList<E>
org.apache.openjpa.lib.rop.AbstractResultList<E>
- All Implemented Interfaces: 
- Serializable, Iterable<E>, Collection<E>, List<E>, ResultList<E>, Closeable
- Direct Known Subclasses: 
- AbstractNonSequentialResultList, AbstractSequentialResultList, ListResultList
- public abstract class AbstractResultList<E> 
- extends Object- implements ResultList<E>
Abstract base class for read-only result lists.
- Author:
- Abe White
- See Also:
- Serialized Form
 
 
| 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, subList, toArray, toArray | 
 
AbstractResultList
public AbstractResultList()
add
public void add(int index,
                Object element)
- 
- Specified by:
- addin interface- List<E>
 
- 
 
add
public boolean add(Object o)
- 
- Specified by:
- addin interface- Collection<E>
- Specified by:
- addin interface- List<E>
 
- 
 
addAll
public boolean addAll(Collection<? extends E> c)
- 
- Specified by:
- addAllin interface- Collection<E>
- Specified by:
- addAllin interface- List<E>
 
- 
 
addAll
public boolean addAll(int index,
                      Collection<? extends E> c)
- 
- Specified by:
- addAllin interface- List<E>
 
- 
 
remove
public E remove(int index)
- 
- Specified by:
- removein interface- List<E>
 
- 
 
remove
public boolean remove(Object o)
- 
- Specified by:
- removein interface- Collection<E>
- Specified by:
- removein interface- List<E>
 
- 
 
removeAll
public boolean removeAll(Collection<?> c)
- 
- Specified by:
- removeAllin interface- Collection<E>
- Specified by:
- removeAllin interface- List<E>
 
- 
 
retainAll
public boolean retainAll(Collection<?> c)
- 
- Specified by:
- retainAllin interface- Collection<E>
- Specified by:
- retainAllin interface- List<E>
 
- 
 
set
public E set(int index,
             Object element)
- 
- Specified by:
- setin interface- List<E>
 
- 
 
clear
public void clear()
- 
- Specified by:
- clearin interface- Collection<E>
- Specified by:
- clearin interface- List<E>
 
- 
 
assertOpen
protected void assertOpen()
- 
 
- 
 
getUserObject
public final Object getUserObject()
- Description copied from interface: ResultList
- Get the opaque user object attached to this receiver.
 
- 
- Specified by:
- getUserObjectin interface- ResultList<E>
 
- 
 
setUserObject
public final void setUserObject(Object opaque)
- Description copied from interface: ResultList
- Set the opaque user object to this receiver.
 
- 
- Specified by:
- setUserObjectin interface- ResultList<E>
 
- 
 
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.