org.mbari.siam.distributed.jddac
Class MutableIntegerArray

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

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

This class holds an array of primitive int values; these values can be modified.

See Also:
Serialized Form

Constructor Summary
MutableIntegerArray(int[] values)
           
 
Method Summary
 int get(int index)
          Get value of specified element.
 int[] getValues()
           
 void set(int index, int value)
          Set value of specified element.
 int size()
           
 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

MutableIntegerArray

public MutableIntegerArray(int[] values)
Method Detail

set

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


get

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


size

public int size()

getValues

public int[] getValues()

toString

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

Overrides:
toString in class java.lang.Object


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.