Package org.djunits.unit
Class UnitTest.Jerk.Unit
- All Implemented Interfaces:
UnitInterface<UnitTest.Jerk>
- Enclosing class:
- UnitTest.Jerk
Unit for Jerk (m/s^3).
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final UnitTest.Jerk.UnitBase jerk unit (identity scale).(package private) static final UnitTest.Jerk.UnitSI/base handle forUnitTest.Jerk.ofSi(double).(package private) static final SIUnitSI dimensions for jerk: m/s^3. -
Constructor Summary
ConstructorsConstructorDescriptionUnit(String id, String name, double scaleFactorToBaseUnit, UnitSystem unitSystem) ctor with factor.Unit(String textualAbbreviation, String displayAbbreviation, String name, Scale scale, UnitSystem unitSystem, SIPrefix siPrefix) Return a derived unit for this unit, with textual abbreviation(s) and a display abbreviation. -
Method Summary
Modifier and TypeMethodDescriptionderiveUnit(String textualAbbreviation, String displayAbbreviation, String name, double scaleFactor, UnitSystem unitSystem, SIPrefix siPrefix) ofSi(double si, UnitInterface<UnitTest.Jerk> displayUnit) siUnit()Methods inherited from class org.djunits.unit.AbstractUnit
deriveUnit, equals, generateSiPrefixes, getDisplayAbbreviation, getId, getName, getScale, getSiPrefix, getStoredDisplayAbbreviation, getStoredName, getStoredTextualAbbreviation, getTextualAbbreviation, getUnitSystem, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.djunits.unit.UnitInterface
fromBaseValue, ofSi, quantityInUnit, toBaseValue
-
Field Details
-
SI_UNIT
SI dimensions for jerk: m/s^3. -
BASE
Base jerk unit (identity scale). -
SI
SI/base handle forUnitTest.Jerk.ofSi(double).
-
-
Constructor Details
-
Unit
Unit(String id, String name, double scaleFactorToBaseUnit, UnitSystem unitSystem) ctor with factor.- Parameters:
id- the unit idname- the unit namescaleFactorToBaseUnit- the scale factorunitSystem- the system
-
Unit
Unit(String textualAbbreviation, String displayAbbreviation, String name, Scale scale, UnitSystem unitSystem, SIPrefix siPrefix) Return a derived unit for this unit, with textual abbreviation(s) and a display abbreviation.- Parameters:
textualAbbreviation- the textual abbreviation of the unit, which doubles as the iddisplayAbbreviation- the display abbreviation of the unitname- the full name of the unitscale- the scale to use to convert from this unit to the standard (e.g., SI, BASE) unitunitSystem- unit system, e.g. SI or ImperialsiPrefix- the SI Prefix of this unit
-
-
Method Details
-
siUnit
-
getBaseUnit
-
ofSi
-
deriveUnit
public UnitTest.Jerk.Unit deriveUnit(String textualAbbreviation, String displayAbbreviation, String name, double scaleFactor, UnitSystem unitSystem, SIPrefix siPrefix) - Specified by:
deriveUnitin classAbstractUnit<UnitTest.Jerk>
-