Package com.db4o.collections
Class SubArrayList4<E>
- java.lang.Object
-
- com.db4o.collections.AbstractList4<E>
-
- com.db4o.collections.SubArrayList4<E>
-
- All Implemented Interfaces:
java.lang.Iterable<E>
,java.util.Collection<E>
,java.util.List<E>
public class SubArrayList4<E> extends AbstractList4<E>
-
-
Field Summary
-
Fields inherited from class com.db4o.collections.AbstractList4
modCount
-
-
Constructor Summary
Constructors Constructor Description SubArrayList4(AbstractList4<E> delegate, int fromIndex, int toIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, E element)
boolean
addAll(int index, java.util.Collection<? extends E> collection)
E
get(int index)
E
remove(int index)
protected void
removeRange(int fromIndex, int toIndex)
E
set(int index, E element)
int
size()
-
Methods inherited from class com.db4o.collections.AbstractList4
add, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, retainAll, subList, toArray, toArray, toString
-
-
-
-
Constructor Detail
-
SubArrayList4
public SubArrayList4(AbstractList4<E> delegate, int fromIndex, int toIndex)
-
-
Method Detail
-
add
public void add(int index, E element)
- Specified by:
add
in interfacejava.util.List<E>
- Overrides:
add
in classAbstractList4<E>
-
addAll
public boolean addAll(int index, java.util.Collection<? extends E> collection)
- Specified by:
addAll
in interfacejava.util.List<E>
- Overrides:
addAll
in classAbstractList4<E>
-
get
public E get(int index)
- Specified by:
get
in interfacejava.util.List<E>
- Specified by:
get
in classAbstractList4<E>
-
remove
public E remove(int index)
- Specified by:
remove
in interfacejava.util.List<E>
- Overrides:
remove
in classAbstractList4<E>
-
removeRange
protected void removeRange(int fromIndex, int toIndex)
- Overrides:
removeRange
in classAbstractList4<E>
-
set
public E set(int index, E element)
- Specified by:
set
in interfacejava.util.List<E>
- Overrides:
set
in classAbstractList4<E>
-
size
public int size()
- Specified by:
size
in interfacejava.util.Collection<E>
- Specified by:
size
in interfacejava.util.List<E>
- Specified by:
size
in classAbstractList4<E>
-
-