@ProviderType
public interface SimpleValueFactory
Modifier and Type | Method and Description |
---|---|
Acceleration |
createAcceleration(double value,
Acceleration.Unit unit)
Creates an object representing an acceleration value.
|
Angle |
createAngle(double value,
Angle.Unit unit)
Creates an object representing an angle value.
|
AngularAcceleration |
createAngularAcceleration(double value,
AngularAcceleration.Unit unit)
Creates an object representing an angular acceleration value.
|
AngularSpeed |
createAngularSpeed(double value,
AngularSpeed.Unit unit)
Creates an object representing an angular speed value.
|
Current |
createCurrent(double value,
Current.Unit unit)
Creates an object representing an electrical current value.
|
Force |
createForce(double value,
Force.Unit unit)
Creates an object representing a force value.
|
Length |
createLength(double value,
Length.Unit unit)
Creates an object representing a length value.
|
Mass |
createMass(double value,
Mass.Unit unit)
Creates an object representing a mass.
|
Pressure |
createPressure(double value,
Pressure.Unit unit)
Creates an object representing a pressure value.
|
Speed |
createSpeed(double value,
Speed.Unit unit)
Creates an object representing a speed value.
|
Time |
createTime(double value,
Time.Unit unit)
Creates an object representing a time value.
|
Torque |
createTorque(double value,
Torque.Unit unit)
Creates an object representing a torque value.
|
Voltage |
createVoltage(double value,
Voltage.Unit unit)
Creates an object representing an electrical voltage value.
|
Length createLength(double value, Length.Unit unit)
value
- length value in specified units.unit
- type of unit for the value
argument.Length
object.Speed createSpeed(double value, Speed.Unit unit)
value
- speed value in specified units.unit
- type of unit for the value
argument.Speed
object.Acceleration createAcceleration(double value, Acceleration.Unit unit)
value
- acceleration value in specified units.unit
- type of unit for the value
argument.Acceleration
object.Angle createAngle(double value, Angle.Unit unit)
value
- angle value in specified units.unit
- type of unit for the value
argument.Angle
object.AngularSpeed createAngularSpeed(double value, AngularSpeed.Unit unit)
value
- angular speed value in specified units.unit
- type of unit for the value
argument.AngularSpeed
object.AngularAcceleration createAngularAcceleration(double value, AngularAcceleration.Unit unit)
value
- angular acceleration value in specified units.unit
- type of unit for the value
argument.AngularAcceleration
object.Force createForce(double value, Force.Unit unit)
value
- force value in specified units.unit
- type of unit for the value
argument.Force
object.Torque createTorque(double value, Torque.Unit unit)
value
- torque value in specified units.unit
- type of unit for the value
argument.Torque
object.Pressure createPressure(double value, Pressure.Unit unit)
value
- pressure value in specified units.unit
- type of unit for the value
argument.Pressure
object.Mass createMass(double value, Mass.Unit unit)
value
- mass value in specified unit.unit
- type of unit for the value
argument.Mass
object.Time createTime(double value, Time.Unit unit)
value
- time value in specified units.unit
- type of unit for the value
argument.Time
object.Current createCurrent(double value, Current.Unit unit)
value
- electrical current value in specified units.unit
- type of unit for the value
argument.Current
object.Voltage createVoltage(double value, Voltage.Unit unit)
value
- electrical voltage value in specified units.unit
- type of unit for the value
argument.Voltage
object.Copyright © 2021. All rights reserved.