org.mbari.siam.distributed.jddac
Class MutableDoubleArray

java.lang.Object
  extended by org.mbari.siam.distributed.jddac.MutableDoubleArray
All Implemented Interfaces:
java.io.Serializable

public class MutableDoubleArray
extends java.lang.Object
implements java.io.Serializable

Author:
brian
See Also:
Serialized Form

Constructor Summary
MutableDoubleArray()
          Creates a new instance of MutableDoubleArray
MutableDoubleArray(double[] values)
          Constructs ...
 
Method Summary
 double get(int index)
          Get value of specified element.
 double[] getValues()
          Method description
 void set(int index, double value)
          Set value of specified element.
 int size()
          Method description
 java.lang.String toString()
          Return String representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MutableDoubleArray

public MutableDoubleArray()
Creates a new instance of MutableDoubleArray


MutableDoubleArray

public MutableDoubleArray(double[] values)
Constructs ...

Parameters:
values -
Method Detail

size

public int size()
Method description

Returns:
size of array

toString

public java.lang.String toString()
Return String representation.

Overrides:
toString in class java.lang.Object
Returns:
string representation

get

public double get(int index)
Get value of specified element.

Parameters:
index -
Returns:
specified value

getValues

public double[] getValues()
Method description

Returns:
values member variable

set

public void set(int index,
                double value)
Set value of specified element.

Parameters:
index -
value -


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.