Package org.djunits.quantity.def
Class QuantityTest.ExampleQuantityAQxyz
java.lang.Object
java.lang.Number
org.djunits.quantity.def.Quantity<QuantityTest.ExampleQuantityAQxyz>
org.djunits.quantity.def.QuantityTest.ExampleQuantityAQxyz
- All Implemented Interfaces:
Serializable,Comparable<QuantityTest.ExampleQuantityAQxyz>,Additive<QuantityTest.ExampleQuantityAQxyz>,Scalable<QuantityTest.ExampleQuantityAQxyz>,Value<QuantityTest.ExampleQuantityAQxyz>
- Enclosing class:
- QuantityTest
Quantity class for test.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classThe unit for ExampleQuantityAQxyz. -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionExampleQuantityAQxyz(double value, QuantityTest.ExampleQuantityAQxyz.Unit displayUnit) -
Method Summary
Modifier and TypeMethodDescriptioninstantiateSi(double siValue, UnitInterface<QuantityTest.ExampleQuantityAQxyz> displayUnit) Methods inherited from class org.djunits.quantity.def.Quantity
abs, add, as, compareTo, divide, doubleValue, eq, eq0, equals, floatValue, format, format, format, ge, ge0, getDisplayUnit, getInUnit, getInUnit, getName, gt, gt0, hashCode, instantiate, instantiateSi, interpolate, intValue, isRelative, le, le0, longValue, lt, lt0, max, mean, min, multiply, ne, ne0, negate, of, product, reciprocal, scaleBy, si, siUnit, subtract, sum, toString, valueOfMethods inherited from class java.lang.Number
byteValue, shortValueMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.djunits.value.Value
isAbsolute
-
Constructor Details
-
ExampleQuantityAQxyz
ExampleQuantityAQxyz(double value, QuantityTest.ExampleQuantityAQxyz.Unit displayUnit) - Parameters:
value- vdisplayUnit- du
-
-
Method Details
-
instantiateSi
public QuantityTest.ExampleQuantityAQxyz instantiateSi(double siValue, UnitInterface<QuantityTest.ExampleQuantityAQxyz> displayUnit) - Specified by:
instantiateSiin classQuantity<QuantityTest.ExampleQuantityAQxyz>
-