Package org.djunits.quantity.def
Class QuantityTest.ExampleQuantityAQxyz
java.lang.Object
java.lang.Number
org.djunits.quantity.def.Quantity<QuantityTest.ExampleQuantityAQxyz,QuantityTest.ExampleQuantityAQxyz.Unit>
org.djunits.quantity.def.QuantityTest.ExampleQuantityAQxyz
- All Implemented Interfaces:
Serializable,Comparable<QuantityTest.ExampleQuantityAQxyz>,Additive<QuantityTest.ExampleQuantityAQxyz>,Scalable<QuantityTest.ExampleQuantityAQxyz>,Value<QuantityTest.ExampleQuantityAQxyz.Unit,QuantityTest.ExampleQuantityAQxyz>
- Enclosing class:
- QuantityTest
static class QuantityTest.ExampleQuantityAQxyz
extends Quantity<QuantityTest.ExampleQuantityAQxyz,QuantityTest.ExampleQuantityAQxyz.Unit>
Quantity class for test.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classThe unit for ExampleQuantityAQxyz. -
Constructor Summary
ConstructorsConstructorDescriptionExampleQuantityAQxyz(double value, QuantityTest.ExampleQuantityAQxyz.Unit displayUnit) -
Method Summary
Methods inherited from class org.djunits.quantity.def.Quantity
abs, add, as, compareTo, divide, doubleValue, eq, eq0, equals, floatValue, format, format, ge, ge0, getDisplayUnit, getInUnit, getInUnit, getName, gt, gt0, hashCode, instantiate, interpolate, intValue, isRelative, le, le0, longValue, lt, lt0, max, mean, min, multiply, ne, ne0, negate, of, product, reciprocal, scaleBy, setDisplayUnit, si, siUnit, subtract, sum, toDisplayString, toDisplayString, toString, toString, toString, toString, toStringSIPrefixed, toStringSIPrefixed, toTextualString, toTextualString, 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, setDisplayUnit
-
Constructor Details
-
ExampleQuantityAQxyz
ExampleQuantityAQxyz(double value, QuantityTest.ExampleQuantityAQxyz.Unit displayUnit) - Parameters:
value- vdisplayUnit- du
-
-
Method Details
-
instantiate
- Specified by:
instantiatein classQuantity<QuantityTest.ExampleQuantityAQxyz,QuantityTest.ExampleQuantityAQxyz.Unit>
-