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-2024 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
-
Method Summary
Modifier and TypeMethodDescriptioninstantiateRel
(double value, JerkUnit unit) static Jerk
instantiateSI
(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, rint, times, times, times
Methods inherited from class org.djunits.value.vdouble.scalar.base.DoubleScalar
compareTo, divide, doubleValue, eq, eq0, equals, floatValue, ge, ge0, getInUnit, getInUnit, getSI, gt, gt0, hashCode, instantiate, instantiateAnonymous, instantiateSI, interpolate, interpolate, intValue, le, le0, longValue, lt, lt0, max, max, min, min, minus, minus, minus, multiply, ne, ne0, plus, plus, plus, toDisplayString, toDisplayString, toString, toString, toString, toString, toStringSIPrefixed, toStringSIPrefixed, toTextualString, toTextualString
Methods inherited from class org.djunits.value.base.Scalar
format, format, getDisplayUnit, setDisplayUnit
Methods inherited from class java.lang.Number
byteValue, shortValue
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
instantiateRel
in classDoubleScalarRel<JerkUnit,
Jerk>
-
instantiateSI
Instantiate a new Jerk scalar with an SI value.- Parameters:
valueSI
- the SI value of the new Jerk- Returns:
- a new Jerk scalar
-
reciprocal
- Specified by:
reciprocal
in classDoubleScalarRel<JerkUnit,
Jerk>
-