Package ucar.visad.quantities
Class Quantity
java.lang.Object
ucar.visad.quantities.Quantity
- Direct Known Subclasses:
ScalarQuantity
,VectorQuantity
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
ConstructorsModifierConstructorDescriptionprotected
Quantity()
Constructs from nothing.protected
Quantity
(RealTupleType realTupleType) Constructs from an existingRealTupleType
. -
Method Summary
Modifier and TypeMethodDescriptionprotected final RealTupleType
Returns the associatedRealTupleType
.protected final void
setRealTupleType
(RealTupleType realTupleType) Should only be used by subclasses immediately after super() invocation.
-
Constructor Details
-
Quantity
protected Quantity()Constructs from nothing. -
Quantity
Constructs from an existingRealTupleType
.- Parameters:
realTupleType
- The existingRealTupleType
.
-
-
Method Details
-
realTupleType
Returns the associatedRealTupleType
.- Returns:
- The associated
RealTupleType
.
-
setRealTupleType
Should only be used by subclasses immediately after super() invocation.- Parameters:
realTupleType
- Sets the associatedRealTupleType
.
-