ucar.unidata.data
Class NamedArray

java.lang.Object
  extended by ucar.unidata.data.NamedArray

public class NamedArray
extends Object

Version:
$Revision: 1.39 $
Author:
IDV development team

Constructor Summary
NamedArray(String name, Unit unit, float[] values)
          ctor
 
Method Summary
 String getName()
          Get the Name property.
 Unit getUnit()
          Get the Unit property.
 float[] getValues()
          Get the Values property.
 void setName(String value)
          Set the Name property.
 void setUnit(Unit value)
          Set the Unit property.
 void setValues(float[] value)
          Set the Values property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedArray

public NamedArray(String name,
                  Unit unit,
                  float[] values)
ctor

Parameters:
name - name
unit - unit
values - values
Method Detail

setName

public void setName(String value)
Set the Name property.

Parameters:
value - The new value for Name

getName

public String getName()
Get the Name property.

Returns:
The Name

setUnit

public void setUnit(Unit value)
Set the Unit property.

Parameters:
value - The new value for Unit

getUnit

public Unit getUnit()
Get the Unit property.

Returns:
The Unit

setValues

public void setValues(float[] value)
Set the Values property.

Parameters:
value - The new value for Values

getValues

public float[] getValues()
Get the Values property.

Returns:
The Values