public class DoubleArrayList extends AbstractDoubleList implements Cloneable
size| Constructor and Description |
|---|
DoubleArrayList() |
DoubleArrayList(double[] elements) |
DoubleArrayList(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(double element) |
void |
beforeInsert(int index,
double element) |
int |
binarySearchFromTo(double key,
int from,
int to) |
Object |
clone() |
DoubleArrayList |
copy() |
double[] |
elements() |
AbstractDoubleList |
elements(double[] elements) |
void |
ensureCapacity(int minCapacity) |
boolean |
equals(Object otherObj) |
boolean |
forEach(DoubleProcedure procedure) |
double |
get(int index) |
double |
getQuick(int index) |
int |
indexOfFromTo(double element,
int from,
int to) |
int |
lastIndexOfFromTo(double element,
int from,
int to) |
AbstractDoubleList |
partFromTo(int from,
int to) |
boolean |
removeAll(AbstractDoubleList other) |
void |
replaceFromToWithFrom(int from,
int to,
AbstractDoubleList other,
int otherFrom) |
boolean |
retainAll(AbstractDoubleList other) |
void |
reverse() |
void |
set(int index,
double element) |
void |
setQuick(int index,
double element) |
void |
sortFromTo(int from,
int to) |
void |
trimToSize() |
addAllOf, addAllOf, addAllOfFromTo, beforeInsertAllOfFromTo, beforeInsertDummies, binarySearch, contains, delete, fillFromToWith, indexOf, lastIndexOf, mergeSortFromTo, mergeSortFromTo, quickSortFromTo, quickSortFromTo, removeFromTo, replaceFromToWithFromTo, setSizeRaw, size, times, toArray, toList, toStringcheckRange, checkRangeFromTo, clear, isEmpty, mergeSort, quickSort, remove, setSize, sortpublic DoubleArrayList()
public DoubleArrayList(double[] elements)
public DoubleArrayList(int initialCapacity)
public void add(double element)
add in class AbstractDoubleListpublic void beforeInsert(int index,
double element)
beforeInsert in class AbstractDoubleListpublic int binarySearchFromTo(double key,
int from,
int to)
binarySearchFromTo in class AbstractDoubleListpublic Object clone()
clone in class AbstractDoubleListpublic DoubleArrayList copy()
public double[] elements()
elements in class AbstractDoubleListpublic AbstractDoubleList elements(double[] elements)
elements in class AbstractDoubleListpublic void ensureCapacity(int minCapacity)
ensureCapacity in class AbstractDoubleListpublic boolean equals(Object otherObj)
equals in class AbstractDoubleListpublic boolean forEach(DoubleProcedure procedure)
forEach in class AbstractDoubleListpublic double get(int index)
get in class AbstractDoubleListpublic double getQuick(int index)
getQuick in class AbstractDoubleListpublic int indexOfFromTo(double element,
int from,
int to)
indexOfFromTo in class AbstractDoubleListpublic int lastIndexOfFromTo(double element,
int from,
int to)
lastIndexOfFromTo in class AbstractDoubleListpublic AbstractDoubleList partFromTo(int from, int to)
partFromTo in class AbstractDoubleListpublic boolean removeAll(AbstractDoubleList other)
removeAll in class AbstractDoubleListpublic void replaceFromToWithFrom(int from,
int to,
AbstractDoubleList other,
int otherFrom)
replaceFromToWithFrom in class AbstractDoubleListpublic boolean retainAll(AbstractDoubleList other)
retainAll in class AbstractDoubleListpublic void reverse()
reverse in class AbstractDoubleListpublic void set(int index,
double element)
set in class AbstractDoubleListpublic void setQuick(int index,
double element)
setQuick in class AbstractDoubleListpublic void sortFromTo(int from,
int to)
sortFromTo in class AbstractListpublic void trimToSize()
trimToSize in class AbstractList