- addElement
Adds an element to the end of this expandable array.
- addElementRolling
Adds an element to the end of the array and removes the first element in the
array. Returns the dis
- getElements
Returns a double array containing the elements of thisResizableArray. This
method returns a copy, no
- checkContractExpand
Checks the expansion factor and the contraction criteria and throws an
IllegalArgumentException if t
- contract
Contracts the storage array to the (size of the element set) + 1 - to avoid a
zero length array. Thi
- discardFrontElements
Discards the i initial elements of the array. For example, if the array contains
the elements 1,2,3,
- discardMostRecentElements
Discards the i last elements of the array. For example, if the array contains
the elements 1,2,3,4,
- 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.
- getContractionCriteria
The contraction criteria defines when the internal array will contract to store
only the number of e
- getElement
Returns the element at the specified index
- getExpansionFactor
The expansion factor controls the size of a new aray when an array needs to be
expanded. The expansi