Package org.djunits.quantity.def
Class AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit
java.lang.Object
org.djunits.unit.AbstractUnit<AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit,AbsQuantityTest.RelativeExampleQuantityAQxyz>
org.djunits.quantity.def.AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit
- All Implemented Interfaces:
Unit<AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit,AbsQuantityTest.RelativeExampleQuantityAQxyz>
- Enclosing class:
- AbsQuantityTest.RelativeExampleQuantityAQxyz
static class AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit
extends AbstractUnit<AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit,AbsQuantityTest.RelativeExampleQuantityAQxyz>
The unit.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final AbsQuantityTest.RelativeExampleQuantityAQxyz.UnitBASE. -
Constructor Summary
ConstructorsConstructorDescriptionUnit(String textualAbbreviation, String name, Scale scale, UnitSystem unitSystem) -
Method Summary
Modifier and TypeMethodDescriptionderiveUnit(String textualAbbreviation, String displayAbbreviation, String name, double scaleFactor, UnitSystem unitSystem) ofSi(double si) siUnit()Methods inherited from class org.djunits.unit.AbstractUnit
deriveUnit, equals, generateSiPrefixes, getDisplayAbbreviation, getId, getName, getScale, getSiPrefix, getStoredDisplayAbbreviation, getStoredName, getStoredTextualAbbreviation, getTextualAbbreviation, getUnitSystem, hashCode, setSiPrefix, setSiPrefix, setSiPrefixKilo, setSiPrefixPer, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.djunits.unit.Unit
fromBaseValue, quantityInUnit, toBaseValue
-
Field Details
-
BASE
BASE.
-
-
Constructor Details
-
Unit
Unit(String textualAbbreviation, String name, Scale scale, UnitSystem unitSystem) - Parameters:
textualAbbreviation- abbname- namescale- scaleunitSystem- system
-
-
Method Details
-
siUnit
-
getBaseUnit
-
ofSi
-
deriveUnit
public AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit deriveUnit(String textualAbbreviation, String displayAbbreviation, String name, double scaleFactor, UnitSystem unitSystem)
-