Class Quantity

java.lang.Object
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 Details

    • Quantity

      protected Quantity()
      Constructs from nothing.
    • Quantity

      protected Quantity(RealTupleType realTupleType)
      Constructs from an existing RealTupleType.
      Parameters:
      realTupleType - The existing RealTupleType.
  • Method Details

    • 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.