Package org.djunits.quantity.def
Class AbsQuantityTest.RelativeExampleQuantityAQxyz
java.lang.Object
java.lang.Number
org.djunits.quantity.def.Quantity<AbsQuantityTest.RelativeExampleQuantityAQxyz>
org.djunits.quantity.def.AbsQuantityTest.RelativeExampleQuantityAQxyz
- All Implemented Interfaces:
Serializable,Comparable<AbsQuantityTest.RelativeExampleQuantityAQxyz>,Additive<AbsQuantityTest.RelativeExampleQuantityAQxyz>,Scalable<AbsQuantityTest.RelativeExampleQuantityAQxyz>,Value<AbsQuantityTest.RelativeExampleQuantityAQxyz,AbsQuantityTest.RelativeExampleQuantityAQxyz>
- Enclosing class:
- AbsQuantityTest
static class AbsQuantityTest.RelativeExampleQuantityAQxyz
extends Quantity<AbsQuantityTest.RelativeExampleQuantityAQxyz>
Relative quantity class for test.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classThe unit. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final AbsQuantityTest.RelativeExampleQuantityAQxyzONE.(package private) static final AbsQuantityTest.RelativeExampleQuantityAQxyzZERO. -
Constructor Summary
ConstructorsConstructorDescriptionRelativeExampleQuantityAQxyz(double value, AbsQuantityTest.RelativeExampleQuantityAQxyz.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, 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, 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, setDisplayUnit
-
Field Details
-
ZERO
ZERO. -
ONE
ONE.
-
-
Constructor Details
-
RelativeExampleQuantityAQxyz
RelativeExampleQuantityAQxyz(double value, AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit displayUnit) - Parameters:
value- the valuedisplayUnit- the unit
-
-
Method Details
-
instantiateSi
- Specified by:
instantiateSiin classQuantity<AbsQuantityTest.RelativeExampleQuantityAQxyz>
-