Package org.djunits.unit
Class UnitTest.Jerk
- All Implemented Interfaces:
Serializable,Comparable<UnitTest.Jerk>,Additive<UnitTest.Jerk>,Scalable<UnitTest.Jerk>,Value<UnitTest.Jerk>
- Enclosing class:
- UnitTest
Minimal Jerk quantity to exercise
AbstractUnit extensibility inside the test.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final classUnit for Jerk (m/s^3). -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionJerk(double siValue, UnitTest.Jerk.Unit displayUnit) Construct a Jerk quantity with a display unit. -
Method Summary
Modifier and TypeMethodDescriptioninstantiateSi(double si, UnitInterface<UnitTest.Jerk> displayUnit) (package private) static UnitTest.JerkofSi(double si) Factory: SI value.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
-
Jerk
Jerk(double siValue, UnitTest.Jerk.Unit displayUnit) Construct a Jerk quantity with a display unit.- Parameters:
siValue- the value expressed in the SI unitdisplayUnit- the display unit unit
-
-
Method Details
-
ofSi
Factory: SI value.- Parameters:
si- the si value to use- Returns:
- the constructed quantity
-
instantiateSi
- Specified by:
instantiateSiin classQuantity<UnitTest.Jerk>
-