Package org.djunits.unit
Class UnitTest.Jerk
- All Implemented Interfaces:
Serializable,Comparable<UnitTest.Jerk>,Additive<UnitTest.Jerk>,Scalable<UnitTest.Jerk>,Value<UnitTest.Jerk.Unit,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). -
Constructor Summary
ConstructorsConstructorDescriptionJerk(double value, UnitTest.Jerk.Unit unit) Construct a Jerk quantity with a unit. -
Method Summary
Modifier and TypeMethodDescriptioninstantiate(double si) (package private) static UnitTest.JerkofSi(double si) Factory: SI value.siUnit()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, 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
-
Jerk
Jerk(double value, UnitTest.Jerk.Unit unit) Construct a Jerk quantity with a unit.- Parameters:
value- the value expressed in the unitunit- the unit
-
-
Method Details
-
ofSi
Factory: SI value.- Parameters:
si- the si value to use- Returns:
- the constructed quantity
-
instantiate
- Specified by:
instantiatein classQuantity<UnitTest.Jerk,UnitTest.Jerk.Unit>
-
siUnit
- Overrides:
siUnitin classQuantity<UnitTest.Jerk,UnitTest.Jerk.Unit>
-