Package org.jscience.physics.model
Class RelativisticModel
- java.lang.Object
-
- org.jscience.physics.model.PhysicalModel
-
- org.jscience.physics.model.RelativisticModel
-
- All Implemented Interfaces:
Dimension.Model
public class RelativisticModel extends PhysicalModel
This class represents the relativistic model.
-
-
Field Summary
-
Fields inherited from interface javax.measure.unit.Dimension.Model
STANDARD
-
-
Constructor Summary
Constructors Constructor Description RelativisticModel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Dimension
getDimension(BaseUnit<?> unit)
Returns the dimension of the specified base unit (a dimension particular to the base unit if the base unit is not recognized).UnitConverter
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 relativistic model as the current model.-
Methods inherited from class org.jscience.physics.model.PhysicalModel
current, setCurrent
-
-
-
-
Method Detail
-
select
public static void select()
Selects the relativistic model as the current model.
-
getDimension
public Dimension getDimension(BaseUnit<?> unit)
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
public UnitConverter getTransform(BaseUnit<?> unit)
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.
-
-