Package org.djunits.quantity.def
Class AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit
java.lang.Object
org.djunits.unit.AbstractUnit<AbsQuantityTest.RelativeExampleQuantityAQxyz>
org.djunits.quantity.def.AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit
- All Implemented Interfaces:
UnitInterface<AbsQuantityTest.RelativeExampleQuantityAQxyz>
- Enclosing class:
- AbsQuantityTest.RelativeExampleQuantityAQxyz
static class AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit
extends AbstractUnit<AbsQuantityTest.RelativeExampleQuantityAQxyz>
The unit.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final AbsQuantityTest.RelativeExampleQuantityAQxyz.UnitBASE. -
Constructor Summary
ConstructorsConstructorDescriptionUnit(String textualAbbreviation, String name, double scale, UnitSystem unitSystem) -
Method Summary
Modifier and TypeMethodDescriptionderiveUnit(String textualAbbreviation, String displayAbbreviation, String name, double scaleFactor, UnitSystem unitSystem, SIPrefix siPrefix) ofSi(double si, UnitInterface<AbsQuantityTest.RelativeExampleQuantityAQxyz> 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
-
BASE
BASE.
-
-
Constructor Details
-
Unit
Unit(String textualAbbreviation, String name, double scale, UnitSystem unitSystem) - Parameters:
textualAbbreviation- abbname- namescale- scaleunitSystem- system
-
-
Method Details
-
siUnit
-
getBaseUnit
-
ofSi
public AbsQuantityTest.RelativeExampleQuantityAQxyz ofSi(double si, UnitInterface<AbsQuantityTest.RelativeExampleQuantityAQxyz> displayUnit) -
deriveUnit
public AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit deriveUnit(String textualAbbreviation, String displayAbbreviation, String name, double scaleFactor, UnitSystem unitSystem, SIPrefix siPrefix) - Specified by:
deriveUnitin classAbstractUnit<AbsQuantityTest.RelativeExampleQuantityAQxyz>
-