Interface DoubleScalarInterface.Rel<U extends Unit<U>,R extends DoubleScalarInterface.Rel<U,R>>
- Type Parameters:
U
- the unitR
- 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.
- Author:
- Alexander Verbraeck
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.djunits.value.vdouble.scalar.base.DoubleScalarInterface
DoubleScalarInterface.Abs<AU extends AbsoluteLinearUnit<AU,RU>,A extends DoubleScalarInterface.Abs<AU,A,RU,R>,RU extends Unit<RU>,R extends DoubleScalarInterface.RelWithAbs<AU,A,RU,R>>, DoubleScalarInterface.Rel<U extends Unit<U>,R extends DoubleScalarInterface.Rel<U,R>>, DoubleScalarInterface.RelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends DoubleScalarInterface.Abs<AU,A,RU,R>,RU extends Unit<RU>,R extends DoubleScalarInterface.RelWithAbs<AU,A,RU,R>>
Nested classes/interfaces inherited from interface org.djunits.value.base.Scalar
Scalar.Abs<AU extends AbsoluteLinearUnit<AU,RU>,A extends Scalar.Abs<AU,A,RU,R>,RU extends Unit<RU>,R extends Scalar.RelWithAbs<AU,A,RU,R>>, Scalar.Rel<U extends Unit<U>,R extends Scalar.Rel<U,R>>, Scalar.RelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends Scalar.Abs<AU,A,RU,R>,RU extends Unit<RU>,R extends Scalar.RelWithAbs<AU,A,RU,R>>
-
Method Summary
Modifier and Type Method Description R
instantiateRel(double value, U unit)
Construct a new Relative Immutable DoubleScalar of the right type.Methods inherited from interface org.djunits.value.vdouble.scalar.base.DoubleScalarInterface
getInUnit, getInUnit, getSI
Methods inherited from interface org.djunits.value.base.Scalar
eq, eq0, ge, ge0, gt, gt0, le, le0, lt, lt0, ne, ne0, toDisplayString, toDisplayString, toTextualString, toTextualString
Methods inherited from interface org.djunits.value.Value
getDisplayUnit, isAbsolute, isRelative, setDisplayUnit, toString, toString, toString, toString
-
Method Details
-
instantiateRel
Construct a new Relative Immutable DoubleScalar of the right type. Each extending class must implement this method.- Parameters:
value
- double; the double valueunit
- U; the unit- Returns:
- R a new relative instance of the DoubleScalar of the right type
-