- <init>
Creates an instance from an existing double[] with the initial capacity and
numElements correspondin
- addElement
Adds an element to the end of this expandable array.
- addElements
Adds several element to the end of this expandable array.
- checkContractExpand
Checks the expansion factor and the contraction criterion and throws an
IllegalArgumentException if
- clear
Clear the array contents, resetting the number of elements to zero.
- contract
Contracts the storage array to the (size of the element set) + 1 - to avoid a
zero length array. Thi
- copy
Copies source to dest, copying the underlying data, so dest is a new,
independent copy of source. Do
- discardExtremeElements
Discards the i first or last elements of the array, depending on the value of
front. For example, i
- expand
Expands the internal storage array using the expansion factor. if expansionMode is set to MULTIPLICA
- expandTo
Expands the internal storage array to the specified size.
- getContractionCriterion
The contraction criterion defines when the internal array will contract to store
only the number of
- getElement
Returns the element at the specified index