Package org.djunits.userdefined
Class FloatJerk
java.lang.Object
java.lang.Number
org.djunits.value.base.Scalar<U,S>
org.djunits.value.vfloat.scalar.base.FloatScalar<U,R>
org.djunits.value.vfloat.scalar.base.FloatScalarRel<JerkUnit,FloatJerk>
org.djunits.userdefined.FloatJerk
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<FloatJerk>
,Relative<JerkUnit,
,FloatJerk> Value<JerkUnit,
FloatJerk>
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.vfloat.scalar.base.FloatScalar
si
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioninstantiateRel
(float value, JerkUnit unit) static FloatJerk
instantiateSI
(float valueSI) Instantiate a new FloatJerk scalar with an SI value.Methods inherited from class org.djunits.value.vfloat.scalar.base.FloatScalarRel
abs, ceil, divide, divide, divide, floor, minus, neg, plus, rint, times, times, times
Methods inherited from class org.djunits.value.vfloat.scalar.base.FloatScalar
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
-
FloatJerk
- Parameters:
value
- the value expressed in the unitunit
- the unit to use
-
FloatJerk
- Parameters:
value
- the value to instantiate / duplicate
-
-
Method Details
-
instantiateRel
- Specified by:
instantiateRel
in classFloatScalarRel<JerkUnit,
FloatJerk>
-
instantiateSI
Instantiate a new FloatJerk scalar with an SI value.- Parameters:
valueSI
- the SI value of the new Jerk- Returns:
- a new FloatJerk scalar
-
reciprocal
- Specified by:
reciprocal
in classFloatScalarRel<JerkUnit,
FloatJerk>
-