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>, org.djunits.value.Relative<JerkUnit,FloatJerk>, org.djunits.value.Value<JerkUnit,FloatJerk>

public class FloatJerk extends org.djunits.value.vfloat.scalar.base.FloatScalarRel<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

    Constructors
    Constructor
    Description
    FloatJerk(float value, JerkUnit unit)
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    instantiateRel(float value, JerkUnit unit)
    static FloatJerk
    instantiateSI(float valueSI)
    Instantiate a new FloatJerk scalar with an SI value.
    org.djunits.value.vfloat.scalar.FloatSIScalar

    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

      public FloatJerk(float value, JerkUnit unit)
      Parameters:
      value - the value expressed in the unit
      unit - the unit to use
    • FloatJerk

      public FloatJerk(FloatJerk value)
      Parameters:
      value - the value to instantiate / duplicate
  • Method Details

    • instantiateRel

      public FloatJerk instantiateRel(float value, JerkUnit unit)
      Specified by:
      instantiateRel in class org.djunits.value.vfloat.scalar.base.FloatScalarRel<JerkUnit,FloatJerk>
    • instantiateSI

      public static FloatJerk instantiateSI(float valueSI)
      Instantiate a new FloatJerk scalar with an SI value.
      Parameters:
      valueSI - the SI value of the new Jerk
      Returns:
      a new FloatJerk scalar
    • reciprocal

      public org.djunits.value.vfloat.scalar.FloatSIScalar reciprocal()
      Specified by:
      reciprocal in class org.djunits.value.vfloat.scalar.base.FloatScalarRel<JerkUnit,FloatJerk>