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
ConstructorsModifierConstructorDescriptionprotectedQuantity()Constructs from nothing.protectedQuantity(RealTupleType realTupleType) Constructs from an existingRealTupleType. -
Method Summary
Modifier and TypeMethodDescriptionprotected final RealTupleTypeReturns the associatedRealTupleType.protected final voidsetRealTupleType(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.
-