Interface Resistance

All Superinterfaces:
Comparable<Measure<ResistanceUnit>>, Measure<ResistanceUnit>
All Known Implementing Classes:
ImmutableResistance, MutResistance

public interface Resistance extends Measure<ResistanceUnit>
  • Method Details

    • ofRelativeUnits

      static Resistance ofRelativeUnits(double magnitude, ResistanceUnit unit)
    • ofBaseUnits

      static Resistance ofBaseUnits(double baseUnitMagnitude, ResistanceUnit unit)
    • copy

      Description copied from interface: Measure
      Returns an immutable copy of this measure. The copy can be used freely and is guaranteed never to change.
      Specified by:
      copy in interface Measure<ResistanceUnit>
      Returns:
      the copied measure
    • mutableCopy

      Description copied from interface: Measure
      Returns a mutable copy of this measure. It will be initialized to the current state of this measure, but can be changed over time without needing to allocate new measurement objects.
      Specified by:
      mutableCopy in interface Measure<ResistanceUnit>
      Returns:
      the copied measure
    • unit

      Description copied from interface: Measure
      Gets the units of this measure.
      Specified by:
      unit in interface Measure<ResistanceUnit>
      Returns:
      the unit
    • baseUnit

      Description copied from interface: Measure
      A convenience method to get the base unit of the measurement. Equivalent to unit().getBaseUnit().
      Specified by:
      baseUnit in interface Measure<ResistanceUnit>
      Returns:
      the base unit of measure.
    • in

      default double in(ResistanceUnit unit)
      Description copied from interface: Measure
      Converts this measure to a measure with a different unit of the same type, eg minutes to seconds. Converting to the same unit is equivalent to calling Measure.magnitude().
         Meters.of(12).in(Feet) // 39.3701
         Seconds.of(15).in(Minutes) // 0.25
       
      Specified by:
      in in interface Measure<ResistanceUnit>
      Parameters:
      unit - the unit to convert this measure to
      Returns:
      the value of this measure in the given unit
    • unaryMinus

      Description copied from interface: Measure
      Returns a measure equivalent to this one equal to zero minus its current value. For non-linear unit types like temperature, the zero point is treated as the zero value of the base unit (eg Kelvin). In effect, this means code like Celsius.of(10).unaryMinus() returns a value equivalent to -10 Kelvin, and not -10° Celsius.
      Specified by:
      unaryMinus in interface Measure<ResistanceUnit>
      Returns:
      a measure equal to zero minus this measure
    • negate

      @Deprecated(since="2025", forRemoval=true) default Resistance negate()
      Deprecated, for removal: This API element is subject to removal in a future version.
      use unaryMinus() instead. This was renamed for consistency with other WPILib classes like Rotation2d
      Returns a measure equivalent to this one equal to zero minus its current value. For non-linear unit types like temperature, the zero point is treated as the zero value of the base unit (eg Kelvin). In effect, this means code like Celsius.of(10).negate() returns a value equivalent to -10 Kelvin, and not -10° Celsius.
      Specified by:
      negate in interface Measure<ResistanceUnit>
      Returns:
      a measure equal to zero minus this measure
    • plus

      default Resistance plus(Measure<? extends ResistanceUnit> other)
      Description copied from interface: Measure
      Adds another measure of the same unit type to this one.
      Specified by:
      plus in interface Measure<ResistanceUnit>
      Parameters:
      other - the measurement to add
      Returns:
      a measure of the sum of both measures
    • minus

      default Resistance minus(Measure<? extends ResistanceUnit> other)
      Description copied from interface: Measure
      Subtracts another measure of the same unit type from this one.
      Specified by:
      minus in interface Measure<ResistanceUnit>
      Parameters:
      other - the measurement to subtract
      Returns:
      a measure of the difference between the measures
    • times

      default Resistance times(double multiplier)
      Description copied from interface: Measure
      Multiplies this measure by a scalar unitless multiplier.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the scalar multiplication factor
      Returns:
      the scaled result
    • div

      default Resistance div(double divisor)
      Description copied from interface: Measure
      Divides this measure by a unitless scalar and returns the result.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      @Deprecated(since="2025", forRemoval=true) default Resistance divide(double divisor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a unitless scalar and returns the result.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • per

      default Velocity<ResistanceUnit> per(TimeUnit period)
      Description copied from interface: Measure
      Divides this measure by a time period and returns the result in the most appropriate unit. This is equivalent to div(period.of(1)).
      Specified by:
      per in interface Measure<ResistanceUnit>
      Parameters:
      period - the time period measurement to divide by.
      Returns:
      the division result
    • times

      default Mult<ResistanceUnit,AccelerationUnit<?>> times(Acceleration<?> multiplier)
      Description copied from interface: Measure
      Multiplies this measure by an acceleration and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      Description copied from interface: Measure
      Divides this measure by a generic acceleration and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a generic acceleration and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      default Mult<ResistanceUnit,AngleUnit> times(Angle multiplier)
      Description copied from interface: Measure
      Multiplies this measure by an angle and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      default Per<ResistanceUnit,AngleUnit> div(Angle divisor)
      Description copied from interface: Measure
      Divides this measure by an angle and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      @Deprecated(since="2025", forRemoval=true) default Per<ResistanceUnit,AngleUnit> divide(Angle divisor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by an angle and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      Description copied from interface: Measure
      Multiplies this measure by an angular acceleration and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      Description copied from interface: Measure
      Divides this measure by an angular acceleration and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by an angular acceleration and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      Description copied from interface: Measure
      Multiplies this measure by an angular momentum and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      Description copied from interface: Measure
      Divides this measure by an angular momentum and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by an angular momentum and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      Description copied from interface: Measure
      Multiplies this measure by an angular velocity and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      Description copied from interface: Measure
      Divides this measure by an angular velocity and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by an angular velocity and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      default Voltage times(Current multiplier)
      Description copied from interface: Measure
      Multiplies this measure by an electric current and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      Description copied from interface: Measure
      Divides this measure by an electric current and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by an electric current and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • div

      default Resistance div(Dimensionless divisor)
      Description copied from interface: Measure
      Divides this measure by a dimensionless scalar and returns the result.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      @Deprecated(since="2025", forRemoval=true) default Resistance divide(Dimensionless divisor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a dimensionless scalar and returns the result.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      default Resistance times(Dimensionless multiplier)
      Description copied from interface: Measure
      Multiplies this measure by a scalar dimensionless multiplier.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the scalar multiplication factor
      Returns:
      the scaled result
    • times

      Description copied from interface: Measure
      Multiplies this measure by a distance and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      Description copied from interface: Measure
      Divides this measure by a distance and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a distance and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      default Mult<ResistanceUnit,EnergyUnit> times(Energy multiplier)
      Description copied from interface: Measure
      Multiplies this measure by an energy and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      default Per<ResistanceUnit,EnergyUnit> div(Energy divisor)
      Description copied from interface: Measure
      Divides this measure by an energy and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by an energy and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      default Mult<ResistanceUnit,ForceUnit> times(Force multiplier)
      Description copied from interface: Measure
      Multiplies this measure by a force and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      default Per<ResistanceUnit,ForceUnit> div(Force divisor)
      Description copied from interface: Measure
      Divides this measure by a force and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      @Deprecated(since="2025", forRemoval=true) default Per<ResistanceUnit,ForceUnit> divide(Force divisor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a force and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      Description copied from interface: Measure
      Multiplies this measure by a frequency and returns the resulting measure in the most appropriate unit. This often - but not always - means implementations return a variation of a Per measure.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      Description copied from interface: Measure
      Divides this measure by a frequency and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a frequency and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      Description copied from interface: Measure
      Multiplies this measure by a linear acceleration and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      Description copied from interface: Measure
      Divides this measure by a linear acceleration and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a linear acceleration and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      Description copied from interface: Measure
      Multiplies this measure by a linear momentum and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      Description copied from interface: Measure
      Divides this measure by a linear momentum and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a linear momentum and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      Description copied from interface: Measure
      Multiplies this measure by a linear velocity and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      Description copied from interface: Measure
      Divides this measure by a linear velocity and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a linear velocity and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      default Mult<ResistanceUnit,MassUnit> times(Mass multiplier)
      Description copied from interface: Measure
      Multiplies this measure by a mass and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      default Per<ResistanceUnit,MassUnit> div(Mass divisor)
      Description copied from interface: Measure
      Divides this measure by a mass and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      @Deprecated(since="2025", forRemoval=true) default Per<ResistanceUnit,MassUnit> divide(Mass divisor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a mass and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      Description copied from interface: Measure
      Multiplies this measure by a moment of intertia and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      Description copied from interface: Measure
      Divides this measure by a moment of inertia and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a moment of inertia and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      default Mult<ResistanceUnit,MultUnit<?,?>> times(Mult<?,?> multiplier)
      Description copied from interface: Measure
      Multiplies this measure by a generic multiplied measure and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      default Per<ResistanceUnit,MultUnit<?,?>> div(Mult<?,?> divisor)
      Description copied from interface: Measure
      Divides this measure by a generic multiplication and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      @Deprecated(since="2025", forRemoval=true) default Per<ResistanceUnit,MultUnit<?,?>> divide(Mult<?,?> divisor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a generic multiplication and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      default Mult<ResistanceUnit,PerUnit<?,?>> times(Per<?,?> multiplier)
      Description copied from interface: Measure
      Multiplies this measure by a generic ratio measurement and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      default Per<ResistanceUnit,PerUnit<?,?>> div(Per<?,?> divisor)
      Description copied from interface: Measure
      Divides this measure by a generic ratio and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      @Deprecated(since="2025", forRemoval=true) default Per<ResistanceUnit,PerUnit<?,?>> divide(Per<?,?> divisor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a generic ratio and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      default Mult<ResistanceUnit,PowerUnit> times(Power multiplier)
      Description copied from interface: Measure
      Multiplies this measure by a power and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      default Per<ResistanceUnit,PowerUnit> div(Power divisor)
      Description copied from interface: Measure
      Divides this measure by a power and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      @Deprecated(since="2025", forRemoval=true) default Per<ResistanceUnit,PowerUnit> divide(Power divisor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a power and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      Description copied from interface: Measure
      Multiplies this measure by a resistance and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      default Dimensionless div(Resistance divisor)
      Description copied from interface: Measure
      Divides this measure by a resistance and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      @Deprecated(since="2025", forRemoval=true) default Dimensionless divide(Resistance divisor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a resistance and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      Description copied from interface: Measure
      Multiplies this measure by a temperature and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      Description copied from interface: Measure
      Divides this measure by a temperature and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a temperature and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      default Mult<ResistanceUnit,TimeUnit> times(Time multiplier)
      Description copied from interface: Measure
      Multiplies this measure by a time and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      default Velocity<ResistanceUnit> div(Time divisor)
      Description copied from interface: Measure
      Divides this measure by a time and returns the result in the most appropriate unit. This will often - but not always - result in a Per type like LinearVelocity or Acceleration.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      @Deprecated(since="2025", forRemoval=true) default Velocity<ResistanceUnit> divide(Time divisor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a time and returns the result in the most appropriate unit. This will often - but not always - result in a Per type like LinearVelocity or Acceleration.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      default Mult<ResistanceUnit,TorqueUnit> times(Torque multiplier)
      Description copied from interface: Measure
      Multiplies this measure by a torque and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      default Per<ResistanceUnit,TorqueUnit> div(Torque divisor)
      Description copied from interface: Measure
      Divides this measure by a torque and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a torque and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      default Mult<ResistanceUnit,VelocityUnit<?>> times(Velocity<?> multiplier)
      Description copied from interface: Measure
      Multiplies this measure by a generic velocity and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      default Per<ResistanceUnit,VelocityUnit<?>> div(Velocity<?> divisor)
      Description copied from interface: Measure
      Divides this measure by a generic velocity and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      @Deprecated(since="2025", forRemoval=true) default Per<ResistanceUnit,VelocityUnit<?>> divide(Velocity<?> divisor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a generic velocity and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • times

      default Mult<ResistanceUnit,VoltageUnit> times(Voltage multiplier)
      Description copied from interface: Measure
      Multiplies this measure by a voltage and returns the resulting measure in the most appropriate unit.
      Specified by:
      times in interface Measure<ResistanceUnit>
      Parameters:
      multiplier - the measurement to multiply by.
      Returns:
      the multiplication result
    • div

      Description copied from interface: Measure
      Divides this measure by a voltage and returns the result in the most appropriate unit.
      Specified by:
      div in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result
    • divide

      Deprecated, for removal: This API element is subject to removal in a future version.
      use div instead. This was renamed for consistency with other languages like Kotlin
      Divides this measure by a voltage and returns the result in the most appropriate unit.
      Specified by:
      divide in interface Measure<ResistanceUnit>
      Parameters:
      divisor - the measurement to divide by.
      Returns:
      the division result