ucar.unidata.metdata
Class ValueFactory

java.lang.Object
  extended by ucar.unidata.metdata.ValueFactory

public class ValueFactory
extends Object

A factory for creating Values.

Version:
$Revision: 1.7 $
Author:
Glenn Davis

Constructor Summary
ValueFactory()
          Default constructor
 
Method Summary
static Value newValue(int vv, String unitName)
          Create a new Value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueFactory

public ValueFactory()
Default constructor

Method Detail

newValue

public static Value newValue(int vv,
                             String unitName)
Create a new Value

Parameters:
vv - data value
unitName - Unit name
Returns:
Value with unit and value