E
- element type.public abstract class AbstractSequentialList<E> extends AbstractList<E>
modCount
Modifier | Constructor and Description |
---|---|
protected |
AbstractSequentialList() |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
E element) |
boolean |
addAll(int index,
Collection<? extends E> c) |
E |
get(int index) |
Iterator<E> |
iterator() |
abstract ListIterator<E> |
listIterator(int index) |
E |
remove(int index) |
E |
set(int index,
E element) |
abstract int |
size() |
add, checkIndex, clear, equals, hashCode, indexOf, indexOutOfBounds, lastIndexOf, listIterator, removeRange, subList
public void add(int index, E element)
public boolean addAll(int index, Collection<? extends E> c)
public E get(int index)
public abstract ListIterator<E> listIterator(int index)
listIterator
in interface List<E>
listIterator
in class AbstractList<E>
public E remove(int index)
public abstract int size()
size
in interface Collection<E>
size
in interface List<E>
size
in class AbstractCollection<E>
Copyright © 2018. All rights reserved.