Interface DoubleScalarInterface.Rel<U extends Unit<U>,​R extends DoubleScalarInterface.Rel<U,​R>>

Type Parameters:
U - the unit
R - the relative scalar
All Superinterfaces:
Cloneable, Comparable<R>, DoubleScalarInterface<U,​R>, Relative<U,​R>, Scalar<U,​R>, Scalar.Rel<U,​R>, Serializable, Value<U,​R>, ValueFunctions<U,​R>
All Known Implementing Classes:
AbsorbedDose, AbstractDoubleScalarRel, AbstractDoubleScalarRelWithAbs, Acceleration, AmountOfSubstance, Angle, AngularAcceleration, AngularVelocity, Area, CatalyticActivity, Density, Dimensionless, Duration, ElectricalCapacitance, ElectricalCharge, ElectricalConductance, ElectricalCurrent, ElectricalInductance, ElectricalPotential, ElectricalResistance, Energy, EquivalentDose, FlowMass, FlowVolume, Force, Frequency, Illuminance, Length, LinearDensity, LuminousFlux, LuminousIntensity, MagneticFlux, MagneticFluxDensity, Mass, Momentum, Power, Pressure, RadioActivity, SIScalar, SolidAngle, Speed, Temperature, Torque, Volume
Enclosing interface:
DoubleScalarInterface<U extends Unit<U>,​S extends DoubleScalarInterface<U,​S>>

public static interface DoubleScalarInterface.Rel<U extends Unit<U>,​R extends DoubleScalarInterface.Rel<U,​R>>
extends DoubleScalarInterface<U,​R>, Scalar.Rel<U,​R>
Methods for Relative DoubleScalar.

Copyright (c) 2019-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.

Alexander Verbraeck
  • Method Details

    • instantiateRel

      R instantiateRel​(double value, U unit)
      Construct a new Relative Immutable DoubleScalar of the right type. Each extending class must implement this method.
      value - double; the double value
      unit - U; the unit
      R a new relative instance of the DoubleScalar of the right type