public class ResizableDoubleArray extends Object
Constructor and Description |
---|
ResizableDoubleArray()
Creates an empty ResizableIntArray with the a initial capacity of 10.
|
ResizableDoubleArray(double[] data) |
ResizableDoubleArray(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
void |
add(double val) |
void |
ensureCapacity(int minCapacity) |
boolean |
isEmpty()
Returns true if this list contains no elements.
|
String |
toString() |
void |
trimToSize() |
public ResizableDoubleArray(double[] data)
public ResizableDoubleArray(int initialCapacity)
public ResizableDoubleArray()
Copyright © 2015–2021 Fiji. All rights reserved.