public abstract class AbstractList extends PersistentObject
| Constructor and Description |
|---|
AbstractList() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
beforeInsertDummies(int index,
int length) |
protected static void |
checkRange(int index,
int theSize) |
protected static void |
checkRangeFromTo(int from,
int to,
int theSize) |
void |
clear() |
boolean |
isEmpty() |
void |
mergeSort() |
abstract void |
mergeSortFromTo(int from,
int to) |
void |
quickSort() |
abstract void |
quickSortFromTo(int from,
int to) |
void |
remove(int index) |
abstract void |
removeFromTo(int fromIndex,
int toIndex) |
abstract void |
reverse() |
void |
setSize(int newSize) |
abstract int |
size() |
void |
sort() |
void |
sortFromTo(int from,
int to) |
void |
trimToSize() |
clonepublic abstract int size()
public boolean isEmpty()
protected abstract void beforeInsertDummies(int index,
int length)
protected static void checkRange(int index,
int theSize)
protected static void checkRangeFromTo(int from,
int to,
int theSize)
public void clear()
public final void mergeSort()
public abstract void mergeSortFromTo(int from,
int to)
public final void quickSort()
public abstract void quickSortFromTo(int from,
int to)
public void remove(int index)
public abstract void removeFromTo(int fromIndex,
int toIndex)
public abstract void reverse()
public void setSize(int newSize)
public final void sort()
public void sortFromTo(int from,
int to)
public void trimToSize()