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