public abstract class TAbstractList<E> extends TAbstractCollection<E> implements TList<E>
Modifier and Type | Field and Description |
---|---|
protected int |
modCount |
Modifier | Constructor and Description |
---|---|
protected |
TAbstractList() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E e) |
void |
add(int index,
E element) |
boolean |
addAll(int index,
TCollection<? extends E> c) |
void |
clear() |
boolean |
equals(Object obj) |
boolean |
equals0(TObject other) |
int |
hashCode() |
int |
indexOf(Object o) |
TIterator<E> |
iterator() |
int |
lastIndexOf(Object o) |
TListIterator<E> |
listIterator() |
TListIterator<E> |
listIterator(int index) |
E |
remove(int index) |
protected void |
removeRange(int start,
int end) |
E |
set(int index,
E element) |
TList<E> |
subList(int fromIndex,
int toIndex) |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass0, notify0, notifyAll0, wait0, wait0, waitImpl
get, replaceAll, sort
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, spliterator, stream, toArray, toArray
public boolean add(E e)
add
in interface TCollection<E>
add
in class TAbstractCollection<E>
public boolean addAll(int index, TCollection<? extends E> c)
public int lastIndexOf(Object o)
lastIndexOf
in interface TList<E>
public void clear()
clear
in interface TCollection<E>
clear
in class TAbstractCollection<E>
public TListIterator<E> listIterator()
listIterator
in interface TList<E>
public TListIterator<E> listIterator(int index)
listIterator
in interface TList<E>
protected void removeRange(int start, int end)
Copyright © 2019. All rights reserved.