ucar.visad.quantities
Class Quantity

java.lang.Object
  extended by ucar.visad.quantities.Quantity
Direct Known Subclasses:
ScalarQuantity, VectorQuantity

public abstract class Quantity
extends Object

Provides support for physical quantities.

Version:
$Id: Quantity.java,v 1.11 2005/05/13 18:35:42 jeffmc Exp $
Author:
Steven R. Emmerson

Constructor Summary
protected Quantity()
          Constructs from nothing.
protected Quantity(RealTupleType realTupleType)
          Constructs from an existing RealTupleType.
 
Method Summary
protected  RealTupleType realTupleType()
          Returns the associated RealTupleType.
protected  void setRealTupleType(RealTupleType realTupleType)
          Should only be used by subclasses immediately after super() invocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Quantity

protected Quantity()
Constructs from nothing.


Quantity

protected Quantity(RealTupleType realTupleType)
Constructs from an existing RealTupleType.

Parameters:
realTupleType - The existing RealTupleType.
Method Detail

realTupleType

protected final RealTupleType realTupleType()
Returns the associated RealTupleType.

Returns:
The associated RealTupleType.

setRealTupleType

protected final void setRealTupleType(RealTupleType realTupleType)
Should only be used by subclasses immediately after super() invocation.

Parameters:
realTupleType - Sets the associated RealTupleType.