Package org.djunits.quantity.def
Class AbsQuantityTest.AbsoluteExampleQuantityAQxyz
java.lang.Object
org.djunits.quantity.def.AbsQuantity<A,Q,R>
org.djunits.quantity.def.ComparableAbsQuantity<AbsQuantityTest.AbsoluteExampleQuantityAQxyz,AbsQuantityTest.RelativeExampleQuantityAQxyz,AbsQuantityTest.AbsoluteExampleQuantityAQxyz.Reference>
org.djunits.quantity.def.AbsQuantityTest.AbsoluteExampleQuantityAQxyz
- All Implemented Interfaces:
Serializable,Comparable<AbsQuantityTest.AbsoluteExampleQuantityAQxyz>,Value<AbsQuantityTest.RelativeExampleQuantityAQxyz>
- Enclosing class:
- AbsQuantityTest
static class AbsQuantityTest.AbsoluteExampleQuantityAQxyz
extends ComparableAbsQuantity<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.ComparableAbsQuantity
compareTo, eq, eq0, ge, ge0, gt, gt0, interpolate, le, le0, lt, lt0, max, mean, min, ne, ne0Methods inherited from class org.djunits.quantity.def.AbsQuantity
equals, format, format, format, getDisplayUnit, getInUnit, getInUnit, getName, getQuantity, getReference, hashCode, isRelative, of, relativeTo, si, siUnit, toString, valueOfMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.djunits.value.Value
isAbsolute
-
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)
-