Class Jerk

java.lang.Object
java.lang.Number
org.djunits.value.base.Scalar<U,S>
org.djunits.value.vdouble.scalar.base.DoubleScalar<U,R>
org.djunits.value.vdouble.scalar.base.DoubleScalarRel<JerkUnit,Jerk>
org.djunits.userdefined.Jerk
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Jerk>, org.djunits.value.Relative<JerkUnit,Jerk>, org.djunits.value.Value<JerkUnit,Jerk>

public class Jerk extends org.djunits.value.vdouble.scalar.base.DoubleScalarRel<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

    Constructors
    Constructor
    Description
    Jerk(double value, JerkUnit unit)
     
    Jerk(Jerk value)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    instantiateRel(double value, JerkUnit unit)
    static Jerk
    instantiateSI(double valueSI)
    Instantiate a new Jerk scalar with an SI value.
    org.djunits.value.vdouble.scalar.SIScalar

    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

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

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

    • instantiateRel

      public Jerk instantiateRel(double value, JerkUnit unit)
      Specified by:
      instantiateRel in class org.djunits.value.vdouble.scalar.base.DoubleScalarRel<JerkUnit,Jerk>
    • instantiateSI

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

      public org.djunits.value.vdouble.scalar.SIScalar reciprocal()
      Specified by:
      reciprocal in class org.djunits.value.vdouble.scalar.base.DoubleScalarRel<JerkUnit,Jerk>