Method Summary |
|
public void | addElement(double i) Appends a new element to the end of this vector, reallocating its storage space if necessary. |
public double[] | asArray() Returns the contents of this doubleVector as an array of doubles. |
public void | assign(doubleVector other) Assigns to this intVector the contents of another, overwriting our contents. |
public doubleIterator | beginIterator() |
public void | clear() Sets this vector to zero size, effectively removing all its elements. |
public double | doubleAt(int i) Returns the integer at the specified index.
Parameters: i - The index of the required integer. |
public double | doubleAtSafe(int i) |
public void | ensureIndex(int i) |
public boolean | isEmpty() Determines whether this vector is empty. |
public double | peek() Returns the final element of the vector. |
public double | popElement() Removes and returns the final element of the vector. |
public void | removeElementAt(int i) Removes the element at the specified index. |
public void | setDoubleAt(int i, double value) Assigns a value to a member of the vector. |
public void | setDoubleAtSafe(int i, double value) |
public void | setSize(int newsize) Sets the new size of this vector. |
public int | size() Returns the current size of this vector. |
public String | toString() Renders this intVector as a String for debugging purposes. |