Package org.djunits.quantity.def
Class QuantityTest.ExampleQuantityAQxyz.Unit
java.lang.Object
org.djunits.unit.AbstractUnit<QuantityTest.ExampleQuantityAQxyz.Unit,QuantityTest.ExampleQuantityAQxyz>
org.djunits.quantity.def.QuantityTest.ExampleQuantityAQxyz.Unit
- All Implemented Interfaces:
UnitInterface<QuantityTest.ExampleQuantityAQxyz.Unit,QuantityTest.ExampleQuantityAQxyz>
- Enclosing class:
- QuantityTest.ExampleQuantityAQxyz
static class QuantityTest.ExampleQuantityAQxyz.Unit
extends AbstractUnit<QuantityTest.ExampleQuantityAQxyz.Unit,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, 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.UnitInterface
fromBaseValue, quantityInUnit, toBaseValue
-
Field Details
-
DEFAULT
-
-
Constructor Details
-
Unit
Unit(String textualAbbreviation, String name, Scale scale, UnitSystem unitSystem) - Parameters:
textualAbbreviation- xname- xscale- xunitSystem- x
-
-
Method Details
-
siUnit
-
getBaseUnit
-
ofSi
-
deriveUnit
public QuantityTest.ExampleQuantityAQxyz.Unit deriveUnit(String textualAbbreviation, String displayAbbreviation, String name, double scaleFactor, UnitSystem unitSystem) - Specified by:
deriveUnitin classAbstractUnit<QuantityTest.ExampleQuantityAQxyz.Unit,QuantityTest.ExampleQuantityAQxyz>
-