|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.quantities.Quantity
ucar.visad.quantities.ScalarQuantity
public abstract class ScalarQuantity
Provides support for scalar quantities.
| Constructor Summary | |
|---|---|
protected |
ScalarQuantity(RealTupleType realTupleType)
Constructs from an existing RealTupleType. |
protected |
ScalarQuantity(RealType realType)
Constructs from an existing RealType. |
protected |
ScalarQuantity(RealType realType,
CoordinateSystem defaultCS)
Constructs from an existing RealType and default CoordinateSystem. |
protected |
ScalarQuantity(RealType realType,
CoordinateSystem defaultCS,
Set defaultSet)
Constructs from an existing RealType, default CoordinateSystem, and default sampling set. |
protected |
ScalarQuantity(String name,
Unit unit,
Set set)
Constructs from a name, default unit, and default sampling set. |
| Method Summary | |
|---|---|
protected static RealType |
getRealType(String name,
Unit unit)
Returns a RealType that is compatible with this class given a
name and a compatible unit. |
protected static RealType |
getRealType(String name,
Unit unit,
Set set)
Returns a RealType that is compatible with this class given a
name, a compatible unit, and a compatible sampling set. |
protected RealType |
realType()
Returns the associated RealType. |
| Methods inherited from class ucar.visad.quantities.Quantity |
|---|
realTupleType, setRealTupleType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ScalarQuantity(String name,
Unit unit,
Set set)
throws VisADException
name - The name.unit - The default unit.set - The default sampling set.
VisADException - if a core VisAD failure occurs.
protected ScalarQuantity(RealType realType)
throws VisADException
RealType.
realType - The existing RealType.
VisADException - if a core VisAD failure occurs.
protected ScalarQuantity(RealType realType,
CoordinateSystem defaultCS)
throws VisADException
RealType and default CoordinateSystem.
realType - The existing RealType.defaultCS - The default CoordinateSystem.
VisADException - if a core VisAD failure occurs.
protected ScalarQuantity(RealType realType,
CoordinateSystem defaultCS,
Set defaultSet)
throws VisADException
RealType, default CoordinateSystem, and default sampling set.
realType - The existing RealType.defaultCS - The default CoordinateSystem.defaultSet - The default sampling set.
VisADException - if a core VisAD failure occurs.protected ScalarQuantity(RealTupleType realTupleType)
RealTupleType.
realTupleType - The existing RealTupleType.| Method Detail |
|---|
protected static RealType getRealType(String name,
Unit unit)
throws TypeException,
VisADException
RealType that is compatible with this class given a
name and a compatible unit.
name - The name for the RealType.unit - A compatible unit for the RealType.
TypeException - if a necessary RealType can't be created.
VisADException - if a core VisAD failure occurs.
protected static RealType getRealType(String name,
Unit unit,
Set set)
throws TypeException,
VisADException
RealType that is compatible with this class given a
name, a compatible unit, and a compatible sampling set.
name - The name for the RealType.unit - A compatible unit for the RealType.set - A compatible sampling set for the RealType.
TypeException - if a necessary RealType can't be created.
VisADException - if a core VisAD failure occurs.
protected final RealType realType()
throws VisADException
RealType.
RealType.
VisADException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||