Uses of Enum Class
com.irurueta.units.PressureUnit
-
Uses of PressureUnit in com.irurueta.units
Methods in com.irurueta.units that return PressureUnitModifier and TypeMethodDescriptionAttempts to determine a pressure unit within a measurement string representation.static PressureUnit[]PressureUnit.getImperialUnits()Gets all supported imperial pressure units.static PressureUnit[]PressureUnit.getMetricUnits()Gets all supported metric pressure units.static PressureUnitReturns the enum constant of this class with the specified name.static PressureUnit[]PressureUnit.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 PressureUnitModifier and TypeMethodDescriptionvoidPressure.add(double value, PressureUnit unit) Adds provided pressure value and unit and updates current pressure instance.static doublePressure.add(double value1, PressureUnit unit1, double value2, PressureUnit unit2, PressureUnit resultUnit) Adds two pressure values and units and returns the result.voidPressure.add(Number value, PressureUnit unit) Adds provided pressure value and unit and updates current pressure instance.static NumberPressure.add(Number value1, PressureUnit unit1, Number value2, PressureUnit unit2, PressureUnit resultUnit) Adds two pressure values and unit and returns the result.Pressure.addAndReturnNew(double value, PressureUnit unit, PressureUnit resultUnit) Adds provided pressure value and unit and returns a new pressure instance using provided unit.static PressurePressure.addAndReturnNew(Pressure arg1, Pressure arg2, PressureUnit unit) Adds two pressure instances.Pressure.addAndReturnNew(Pressure s, PressureUnit unit) Adds provided pressure to current instance and returns a new pressure.Pressure.addAndReturnNew(Number value, PressureUnit unit, PressureUnit resultUnit) Adds provided pressure value and unit and returns a new pressure instance using provided unit.static doublePressureConverter.convert(double input, PressureUnit inputUnit, PressureUnit outputUnit) Converts a pressure value from input unit to provided output unit.static voidPressureConverter.convert(Pressure pressure, PressureUnit outputUnit) Converts and updates a pressure to requested output unit.static voidPressureConverter.convert(Pressure input, PressureUnit outputUnit, Pressure result) Converts a pressure to requested output unit.static NumberPressureConverter.convert(Number input, PressureUnit inputUnit, PressureUnit outputUnit) Converts a pressure value from input unit to provided output unit.static PressurePressureConverter.convertAndReturnNew(Pressure input, PressureUnit outputUnit) Converts a pressure instance to requested output unit.PressureFormatter.formatAndConvert(Number value, PressureUnit unit, UnitSystem system) Formats and converts provided pressure value and unit using provided unit system.PressureFormatter.formatAndConvertImperial(Number value, PressureUnit unit) Formats and converts provided pressure value and unit using imperial unit system.PressureFormatter.formatAndConvertMetric(Number value, PressureUnit unit) Formats and converts provided pressure value and unit using metric unit system.PressureFormatter.getUnitSymbol(PressureUnit unit) Returns unit string representation.static UnitSystemPressureUnit.getUnitSystem(PressureUnit unit) Returns unit system for provided pressure unit.static booleanPressureUnit.isImperial(PressureUnit unit) Indicates whether provided unit belongs to the imperial unit system.static booleanPressureUnit.isMetric(PressureUnit unit) Indicates whether provided unit belongs to the metric unit system.voidPressure.subtract(double value, PressureUnit unit) Subtracts provided pressure value and unit and updates current pressure instance.static doublePressure.subtract(double value1, PressureUnit unit1, double value2, PressureUnit unit2, PressureUnit resultUnit) Subtracts two pressure values and units and returns the result.voidPressure.subtract(Number value, PressureUnit unit) Subtracts provided pressure value and unit and updates current pressure instance.static NumberPressure.subtract(Number value1, PressureUnit unit1, Number value2, PressureUnit unit2, PressureUnit resultUnit) Subtracts two pressure values and units and returns the result.Pressure.subtractAndReturnNew(double value, PressureUnit unit, PressureUnit resultUnit) Subtracts provided pressure value and unit and returns a new pressure instance using provided unit.static PressurePressure.subtractAndReturnNew(Pressure arg1, Pressure arg2, PressureUnit unit) Subtracts two pressure instances.Pressure.subtractAndReturnNew(Pressure s, PressureUnit unit) Subtracts provided pressure to current instance and returns a new pressure instance.Pressure.subtractAndReturnNew(Number value, PressureUnit unit, PressureUnit resultUnit) Subtracts provided pressure value and unit and returns a new pressure instance using provided unit.Method parameters in com.irurueta.units with type arguments of type PressureUnitModifier and TypeMethodDescriptionbooleanPressure.equals(Measurement<PressureUnit> other, double tolerance) Determines if two pressures are equal up to a certain tolerance.Constructors in com.irurueta.units with parameters of type PressureUnitModifierConstructorDescriptionPressure(Number value, PressureUnit unit) Constructor with value and unit.