org.apache.openjpa.lib.rop
Class AbstractResultList
java.lang.Object
org.apache.openjpa.lib.rop.AbstractResultList
- All Implemented Interfaces:
- Serializable, Iterable, Collection, List, ResultList, Closeable
- Direct Known Subclasses:
- AbstractNonSequentialResultList, AbstractSequentialResultList, ListResultList
public abstract class AbstractResultList
- extends Object
- implements ResultList
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, toArray, toArray |
AbstractResultList
public AbstractResultList()
add
public void add(int index,
Object element)
- Specified by:
add
in interface List
add
public boolean add(Object o)
- Specified by:
add
in interface Collection
- Specified by:
add
in interface List
addAll
public boolean addAll(Collection c)
- Specified by:
addAll
in interface Collection
- Specified by:
addAll
in interface List
addAll
public boolean addAll(int index,
Collection c)
- Specified by:
addAll
in interface List
remove
public Object remove(int index)
- Specified by:
remove
in interface List
remove
public boolean remove(Object o)
- Specified by:
remove
in interface Collection
- Specified by:
remove
in interface List
removeAll
public boolean removeAll(Collection c)
- Specified by:
removeAll
in interface Collection
- Specified by:
removeAll
in interface List
retainAll
public boolean retainAll(Collection c)
- Specified by:
retainAll
in interface Collection
- Specified by:
retainAll
in interface List
set
public Object set(int index,
Object element)
- Specified by:
set
in interface List
clear
public void clear()
- Specified by:
clear
in interface Collection
- Specified by:
clear
in interface List
subList
public List subList(int from,
int to)
- Specified by:
subList
in interface List
assertOpen
protected void assertOpen()
Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.