Uses of Enum Class
com.irurueta.units.PowerUnit
-
Uses of PowerUnit in com.irurueta.units
Methods in com.irurueta.units that return PowerUnitModifier and TypeMethodDescriptionAttempts to determine a power unit within a measurement string representation.static PowerUnit[]PowerUnit.getImperialUnits()Gets all supported imperial power units.static PowerUnit[]PowerUnit.getMetricUnits()Gets all supported metric power units.static PowerUnitReturns the enum constant of this class with the specified name.static PowerUnit[]PowerUnit.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 PowerUnitModifier and TypeMethodDescriptionvoidAdds provided power value and unit and updates current power instance.static doubleAdds two power values and units and returns the result.voidAdds provided power value and unit and updates current power instance.static NumberAdds two power values and unit and returns the result.Power.addAndReturnNew(double value, PowerUnit unit, PowerUnit resultUnit) Adds provided power value and unit and returns a new power instance using provided unit.static PowerPower.addAndReturnNew(Power arg1, Power arg2, PowerUnit unit) Adds two power instances.Power.addAndReturnNew(Power s, PowerUnit unit) Adds provided power to current instance and returns a new power.Power.addAndReturnNew(Number value, PowerUnit unit, PowerUnit resultUnit) Adds provided power value and unit and returns a new power instance using provided unit.static doubleConverts a power value from input unit to provided output unit.static voidConverts and updates a power to requested output unit.static voidConverts a power to requested output unit.static NumberConverts a power value from input unit to provided output unit.static PowerPowerConverter.convertAndReturnNew(Power input, PowerUnit outputUnit) Converts a power instance to requested output unit.PowerFormatter.formatAndConvert(Number value, PowerUnit unit, UnitSystem system) Formats and converts provided power value and unit using provided unit system.PowerFormatter.formatAndConvertImperial(Number value, PowerUnit unit) Formats and converts provided power value and unit using imperial unit system.PowerFormatter.formatAndConvertMetric(Number value, PowerUnit unit) Formats and converts provided power value and unit using metric unit system.PowerFormatter.getUnitSymbol(PowerUnit unit) Returns unit string representation.static UnitSystemPowerUnit.getUnitSystem(PowerUnit unit) Returns unit system for provided power unit.static booleanPowerUnit.isImperial(PowerUnit unit) Indicates whether provided unit belongs to the imperial unit system.static booleanIndicates whether provided unit belongs to the metric unit system.voidSubtracts provided power value and unit and updates current power instance.static doublePower.subtract(double value1, PowerUnit unit1, double value2, PowerUnit unit2, PowerUnit resultUnit) Subtracts two power values and units and returns the result.voidSubtracts provided power value and unit and updates current power instance.static NumberPower.subtract(Number value1, PowerUnit unit1, Number value2, PowerUnit unit2, PowerUnit resultUnit) Subtracts two power values and units and returns the result.Power.subtractAndReturnNew(double value, PowerUnit unit, PowerUnit resultUnit) Subtracts provided power value and unit and returns a new power instance using provided unit.static PowerPower.subtractAndReturnNew(Power arg1, Power arg2, PowerUnit unit) Subtracts two power instances.Power.subtractAndReturnNew(Power s, PowerUnit unit) Subtracts provided power to current instance and returns a new power instance.Power.subtractAndReturnNew(Number value, PowerUnit unit, PowerUnit resultUnit) Subtracts provided power value and unit and returns a new power instance using provided unit.Method parameters in com.irurueta.units with type arguments of type PowerUnitModifier and TypeMethodDescriptionbooleanPower.equals(Measurement<PowerUnit> other, double tolerance) Determines if two powers are equal up to a certain tolerance.Constructors in com.irurueta.units with parameters of type PowerUnit