Package org.djunits.userdefined
Class Jerk
java.lang.Object
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Jerk>,Relative<JerkUnit,,Jerk> Value<JerkUnit,Jerk>
JerkScalar as a test of a user-defined scalar.
Copyright (c) 2019-2025 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
- Author:
- Alexander Verbraeck
- See Also:
-
Field Summary
Fields inherited from class org.djunits.value.vdouble.scalar.base.DoubleScalar
si -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninstantiateRel(double value, JerkUnit unit) static JerkofSI(double valueSI) Instantiate a new Jerk scalar with an SI value.Methods inherited from class org.djunits.value.vdouble.scalar.base.DoubleScalarRel
abs, ceil, divide, divide, divide, floor, minus, neg, plus, reciprocal, rint, times, times, timesMethods inherited from class org.djunits.value.vdouble.scalar.base.DoubleScalar
compareTo, doubleValue, eq, eq0, equals, floatValue, ge, ge0, getInUnit, getInUnit, getSI, gt, gt0, hashCode, intValue, le, le0, longValue, lt, lt0, ne, ne0, toDisplayString, toDisplayString, toString, toString, toString, toString, toStringSIPrefixed, toStringSIPrefixed, toTextualString, toTextualStringMethods inherited from class org.djunits.value.base.Scalar
format, format, getDisplayUnit, setDisplayUnitMethods 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, isRelative
-
Constructor Details
-
Jerk
- Parameters:
value- the value expressed in the unitunit- the unit to use
-
Jerk
- Parameters:
value- the value to instantiate / duplicate
-
-
Method Details
-
instantiateRel
- Specified by:
instantiateRelin classDoubleScalarRel<JerkUnit,Jerk>
-
ofSI
Instantiate a new Jerk scalar with an SI value.- Parameters:
valueSI- the SI value of the new Jerk- Returns:
- a new Jerk scalar
-