Package org.jscience.physics.model
Class StandardModel
java.lang.Object
org.jscience.physics.model.PhysicalModel
org.jscience.physics.model.StandardModel
- All Implemented Interfaces:
Dimension.Model
This class represents the standard model.
-
Field Summary
Fields inherited from interface javax.measure.unit.Dimension.Model
STANDARD
-
Constructor Summary
ModifierConstructorDescriptionprotected
Default constructor (allows for derivation). -
Method Summary
Modifier and TypeMethodDescriptiongetDimension
(BaseUnit<?> unit) Returns the dimension of the specified base unit (a dimension particular to the base unit if the base unit is not recognized).getTransform
(BaseUnit<?> unit) Returns the normalization transform of the specified base unit (IDENTITY
if the base unit is not recognized).static void
select()
Selects the standard model as the current model.Methods inherited from class org.jscience.physics.model.PhysicalModel
current, setCurrent
-
Constructor Details
-
StandardModel
protected StandardModel()Default constructor (allows for derivation).
-
-
Method Details
-
select
public static void select()Selects the standard model as the current model. -
getDimension
Description copied from interface:Dimension.Model
Returns the dimension of the specified base unit (a dimension particular to the base unit if the base unit is not recognized).- Parameters:
unit
- the base unit for which the dimension is returned.- Returns:
- the dimension of the specified unit.
-
getTransform
Description copied from interface:Dimension.Model
Returns the normalization transform of the specified base unit (IDENTITY
if the base unit is not recognized).- Parameters:
unit
- the base unit for which the transform is returned.- Returns:
- the normalization transform.
-