org.apache.openjpa.lib.rop
public abstract class AbstractSequentialResultList extends AbstractResultList
AbstractSequentialList
, this class doesn't rely on the
Collection.size()
method.Constructor and Description |
---|
AbstractSequentialResultList() |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection c) |
java.lang.Object |
get(int index) |
int |
indexOf(java.lang.Object o) |
boolean |
isEmpty() |
java.util.Iterator |
iterator() |
protected abstract java.util.ListIterator |
itr(int index)
Implement this method and
List.size() . |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator |
listIterator() |
java.util.ListIterator |
listIterator(int index) |
java.lang.Object[] |
toArray() |
java.lang.Object[] |
toArray(java.lang.Object[] a) |
add, add, addAll, addAll, assertOpen, clear, getUserObject, remove, remove, removeAll, retainAll, set, setUserObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, isClosed, isProviderOpen
protected abstract java.util.ListIterator itr(int index)
List.size()
.public boolean contains(java.lang.Object o)
public boolean containsAll(java.util.Collection c)
public java.lang.Object get(int index)
public int indexOf(java.lang.Object o)
public int lastIndexOf(java.lang.Object o)
public boolean isEmpty()
public java.util.Iterator iterator()
public java.util.ListIterator listIterator()
public java.util.ListIterator listIterator(int index)
public java.lang.Object[] toArray()
public java.lang.Object[] toArray(java.lang.Object[] a)