Uses of Enum Class
com.irurueta.units.SpeedUnit
-
Uses of SpeedUnit in com.irurueta.units
Methods in com.irurueta.units that return SpeedUnitModifier and TypeMethodDescriptionAttempts to determine a speed unit within a measurement string representation.static SpeedUnit[]SpeedUnit.getImperialUnits()Gets all supported imperial speed units.static SpeedUnit[]SpeedUnit.getMetricUnits()Gets all supported metric speed units.static SpeedUnitReturns the enum constant of this class with the specified name.static SpeedUnit[]SpeedUnit.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.irurueta.units with parameters of type SpeedUnitModifier and TypeMethodDescriptionvoidAdds provided speed value and unit and updates current speed instance.static doubleAdds two speed values and units and returns the result.voidAdds provided speed value and unit and updates current speed instance.static NumberAdds two speed values and unit and returns the result.Speed.addAndReturnNew(double value, SpeedUnit unit, SpeedUnit resultUnit) Adds provided speed value and unit and returns a new speed instance using provided unit.static SpeedSpeed.addAndReturnNew(Speed arg1, Speed arg2, SpeedUnit unit) Adds two speed instances.Speed.addAndReturnNew(Speed s, SpeedUnit unit) Adds provided speed to current instance and returns a new speed.Speed.addAndReturnNew(Number value, SpeedUnit unit, SpeedUnit resultUnit) Adds provided speed value and unit and returns a new speed instance using provided unit.static doubleConverts a speed value from input unit to provided output unit.static voidConverts and updates a speed to requested output unit.static voidConverts a speed to requested output unit.static NumberConverts a speed value from input unit to provided output unit.static SpeedSpeedConverter.convertAndReturnNew(Speed input, SpeedUnit outputUnit) Converts a speed instance to requested output unit.SpeedFormatter.formatAndConvert(Number value, SpeedUnit unit, UnitSystem system) Formats and converts provided speed value and unit using provided unit system.SpeedFormatter.formatAndConvertImperial(Number value, SpeedUnit unit) Formats and converts provided speed value and unit using imperial unit system.SpeedFormatter.formatAndConvertMetric(Number value, SpeedUnit unit) Formats and converts provided speed value and unit using metric unit system.SpeedFormatter.getUnitSymbol(SpeedUnit unit) Returns unit string representation.static UnitSystemSpeedUnit.getUnitSystem(SpeedUnit unit) Returns unit system for provided speed unit.static booleanSpeedUnit.isImperial(SpeedUnit unit) Indicates whether provided unit belongs to the imperial unit system.static booleanIndicates whether provided unit belongs to the metric unit system.voidSubtracts provided speed value and unit and updates current speed instance.static doubleSpeed.subtract(double value1, SpeedUnit unit1, double value2, SpeedUnit unit2, SpeedUnit resultUnit) Subtracts two speed values and units and returns the result.voidSubtracts provided speed value and unit and updates current speed instance.static NumberSpeed.subtract(Number value1, SpeedUnit unit1, Number value2, SpeedUnit unit2, SpeedUnit resultUnit) Subtracts two speed values and units and returns the result.Speed.subtractAndReturnNew(double value, SpeedUnit unit, SpeedUnit resultUnit) Subtracts provided speed value and unit and returns a nw speed instance using provided unit.static SpeedSpeed.subtractAndReturnNew(Speed arg1, Speed arg2, SpeedUnit unit) Subtracts two speed instances.Speed.subtractAndReturnNew(Speed s, SpeedUnit unit) Subtracts provided speed to current instance and returns a new speed instance.Speed.subtractAndReturnNew(Number value, SpeedUnit unit, SpeedUnit resultUnit) Subtracts provided speed value and unit and returns a new speed instance using provided unit.Method parameters in com.irurueta.units with type arguments of type SpeedUnitModifier and TypeMethodDescriptionbooleanSpeed.equals(Measurement<SpeedUnit> other, double tolerance) Determines if two speeds are equal up to a certain tolerance.Constructors in com.irurueta.units with parameters of type SpeedUnit