Package org.djunits.quantity.def
Class AbsQuantityTest.AbsoluteExampleQuantityAQxyz
java.lang.Object
org.djunits.quantity.def.AbsQuantity<AbsQuantityTest.AbsoluteExampleQuantityAQxyz,AbsQuantityTest.RelativeExampleQuantityAQxyz,AbsQuantityTest.AbsoluteExampleQuantityAQxyz.Reference>
org.djunits.quantity.def.AbsQuantityTest.AbsoluteExampleQuantityAQxyz
- All Implemented Interfaces:
Serializable,Comparable<AbsQuantityTest.AbsoluteExampleQuantityAQxyz>,Value<AbsQuantityTest.AbsoluteExampleQuantityAQxyz,AbsQuantityTest.RelativeExampleQuantityAQxyz>
- Enclosing class:
- AbsQuantityTest
static class AbsQuantityTest.AbsoluteExampleQuantityAQxyz
extends AbsQuantity<AbsQuantityTest.AbsoluteExampleQuantityAQxyz,AbsQuantityTest.RelativeExampleQuantityAQxyz,AbsQuantityTest.AbsoluteExampleQuantityAQxyz.Reference>
Absolute quantity class for test.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classThe reference class. -
Constructor Summary
ConstructorsConstructorDescriptionAbsoluteExampleQuantityAQxyz(AbsQuantityTest.RelativeExampleQuantityAQxyz quantity, AbsQuantityTest.AbsoluteExampleQuantityAQxyz.Reference reference) -
Method Summary
Modifier and TypeMethodDescriptioninstantiate(AbsQuantityTest.RelativeExampleQuantityAQxyz quantity, AbsQuantityTest.AbsoluteExampleQuantityAQxyz.Reference reference) Methods inherited from class org.djunits.quantity.def.AbsQuantity
compareTo, eq, eq0, equals, format, format, format, ge, ge0, getDisplayUnit, getInUnit, getInUnit, getName, getQuantity, getReference, gt, gt0, hashCode, interpolate, isRelative, le, le0, lt, lt0, max, mean, min, ne, ne0, of, relativeTo, setDisplayUnit, si, siUnit, sum, toString, valueOfMethods 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
-
AbsoluteExampleQuantityAQxyz
AbsoluteExampleQuantityAQxyz(AbsQuantityTest.RelativeExampleQuantityAQxyz quantity, AbsQuantityTest.AbsoluteExampleQuantityAQxyz.Reference reference) - Parameters:
quantity- lengthreference- position reference
-
-
Method Details
-
instantiate
public AbsQuantityTest.AbsoluteExampleQuantityAQxyz instantiate(AbsQuantityTest.RelativeExampleQuantityAQxyz quantity, AbsQuantityTest.AbsoluteExampleQuantityAQxyz.Reference reference) -
subtract
public AbsQuantityTest.RelativeExampleQuantityAQxyz subtract(AbsQuantityTest.AbsoluteExampleQuantityAQxyz other) -
add
-
subtract
public AbsQuantityTest.AbsoluteExampleQuantityAQxyz subtract(AbsQuantityTest.RelativeExampleQuantityAQxyz other)
-