// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.

// THIS FILE WAS AUTO-GENERATED BY ./wpiunits/generate_units.py. DO NOT MODIFY

package edu.wpi.first.units.measure;

import static edu.wpi.first.units.Units.*;
import edu.wpi.first.units.*;

@SuppressWarnings({"unchecked", "cast", "checkstyle", "PMD"})
public interface AngularAcceleration extends Measure<AngularAccelerationUnit> {
  static  AngularAcceleration ofRelativeUnits(double magnitude, AngularAccelerationUnit unit) {
    return new ImmutableAngularAcceleration(magnitude, unit.toBaseUnits(magnitude), unit);
  }

  static  AngularAcceleration ofBaseUnits(double baseUnitMagnitude, AngularAccelerationUnit unit) {
    return new ImmutableAngularAcceleration(unit.fromBaseUnits(baseUnitMagnitude), baseUnitMagnitude, unit);
  }

  @Override
  AngularAcceleration copy();

  @Override
  default MutAngularAcceleration mutableCopy() {
    return new MutAngularAcceleration(magnitude(), baseUnitMagnitude(), unit());
  }

  @Override
  AngularAccelerationUnit unit();

  @Override
  default AngularAccelerationUnit baseUnit() { return (AngularAccelerationUnit) unit().getBaseUnit(); }

  @Override
  default double in(AngularAccelerationUnit unit) {
    return unit.fromBaseUnits(baseUnitMagnitude());
  }

  @Override
  default AngularAcceleration unaryMinus() {
    return (AngularAcceleration) unit().ofBaseUnits(0 - baseUnitMagnitude());
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use unaryMinus() instead. This was renamed for consistency with other WPILib classes like Rotation2d
  */
  @Override
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  default AngularAcceleration negate() {
    return (AngularAcceleration) unaryMinus();
  }

  @Override
  default AngularAcceleration plus(Measure<? extends AngularAccelerationUnit> other) {
    return (AngularAcceleration) unit().ofBaseUnits(baseUnitMagnitude() + other.baseUnitMagnitude());
  }

  @Override
  default AngularAcceleration minus(Measure<? extends AngularAccelerationUnit> other) {
    return (AngularAcceleration) unit().ofBaseUnits(baseUnitMagnitude() - other.baseUnitMagnitude());
  }

  @Override
  default AngularAcceleration times(double multiplier) {
    return (AngularAcceleration) unit().ofBaseUnits(baseUnitMagnitude() * multiplier);
  }

  @Override
  default AngularAcceleration div(double divisor) {
    return (AngularAcceleration) unit().ofBaseUnits(baseUnitMagnitude() / divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Override
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  default AngularAcceleration divide(double divisor) {
    return (AngularAcceleration) div(divisor);
  }

  @Override
  default Velocity<AngularAccelerationUnit> per(TimeUnit period) {
    return div(period.of(1));
  }


  @Override
  default Mult<AngularAccelerationUnit, AccelerationUnit<?>> times(Acceleration<?> multiplier) {
    return (Mult<AngularAccelerationUnit, AccelerationUnit<?>>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, AccelerationUnit<?>> div(Acceleration<?> divisor) {
    return (Per<AngularAccelerationUnit, AccelerationUnit<?>>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, AccelerationUnit<?>> divide(Acceleration<?> divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, AngleUnit> times(Angle multiplier) {
    return (Mult<AngularAccelerationUnit, AngleUnit>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, AngleUnit> div(Angle divisor) {
    return (Per<AngularAccelerationUnit, AngleUnit>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, AngleUnit> divide(Angle divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, AngularAccelerationUnit> times(AngularAcceleration multiplier) {
    return (Mult<AngularAccelerationUnit, AngularAccelerationUnit>) Measure.super.times(multiplier);
  }

  @Override
  default Dimensionless div(AngularAcceleration divisor) {
    return Value.of(baseUnitMagnitude() / divisor.baseUnitMagnitude());
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Dimensionless divide(AngularAcceleration divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, AngularMomentumUnit> times(AngularMomentum multiplier) {
    return (Mult<AngularAccelerationUnit, AngularMomentumUnit>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, AngularMomentumUnit> div(AngularMomentum divisor) {
    return (Per<AngularAccelerationUnit, AngularMomentumUnit>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, AngularMomentumUnit> divide(AngularMomentum divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, AngularVelocityUnit> times(AngularVelocity multiplier) {
    return (Mult<AngularAccelerationUnit, AngularVelocityUnit>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, AngularVelocityUnit> div(AngularVelocity divisor) {
    return (Per<AngularAccelerationUnit, AngularVelocityUnit>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, AngularVelocityUnit> divide(AngularVelocity divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, CurrentUnit> times(Current multiplier) {
    return (Mult<AngularAccelerationUnit, CurrentUnit>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, CurrentUnit> div(Current divisor) {
    return (Per<AngularAccelerationUnit, CurrentUnit>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, CurrentUnit> divide(Current divisor) {
    return div(divisor);
  }

  @Override
  default AngularAcceleration div(Dimensionless divisor) {
    return (AngularAcceleration) RadiansPerSecondPerSecond.of(baseUnitMagnitude() / divisor.baseUnitMagnitude());
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Override
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  default AngularAcceleration divide(Dimensionless divisor) {
    return (AngularAcceleration) div(divisor);
  }

  @Override
  default AngularAcceleration times(Dimensionless multiplier) {
    return (AngularAcceleration) RadiansPerSecondPerSecond.of(baseUnitMagnitude() * multiplier.baseUnitMagnitude());
  }


  @Override
  default Mult<AngularAccelerationUnit, DistanceUnit> times(Distance multiplier) {
    return (Mult<AngularAccelerationUnit, DistanceUnit>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, DistanceUnit> div(Distance divisor) {
    return (Per<AngularAccelerationUnit, DistanceUnit>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, DistanceUnit> divide(Distance divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, EnergyUnit> times(Energy multiplier) {
    return (Mult<AngularAccelerationUnit, EnergyUnit>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, EnergyUnit> div(Energy divisor) {
    return (Per<AngularAccelerationUnit, EnergyUnit>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, EnergyUnit> divide(Energy divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, ForceUnit> times(Force multiplier) {
    return (Mult<AngularAccelerationUnit, ForceUnit>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, ForceUnit> div(Force divisor) {
    return (Per<AngularAccelerationUnit, ForceUnit>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, ForceUnit> divide(Force divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, FrequencyUnit> times(Frequency multiplier) {
    return (Mult<AngularAccelerationUnit, FrequencyUnit>) Measure.super.times(multiplier);
  }

  @Override
  default AngularVelocity div(Frequency divisor) {
    return RadiansPerSecond.of(baseUnitMagnitude() / divisor.baseUnitMagnitude());
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Override
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  default AngularVelocity divide(Frequency divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, LinearAccelerationUnit> times(LinearAcceleration multiplier) {
    return (Mult<AngularAccelerationUnit, LinearAccelerationUnit>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, LinearAccelerationUnit> div(LinearAcceleration divisor) {
    return (Per<AngularAccelerationUnit, LinearAccelerationUnit>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, LinearAccelerationUnit> divide(LinearAcceleration divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, LinearMomentumUnit> times(LinearMomentum multiplier) {
    return (Mult<AngularAccelerationUnit, LinearMomentumUnit>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, LinearMomentumUnit> div(LinearMomentum divisor) {
    return (Per<AngularAccelerationUnit, LinearMomentumUnit>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, LinearMomentumUnit> divide(LinearMomentum divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, LinearVelocityUnit> times(LinearVelocity multiplier) {
    return (Mult<AngularAccelerationUnit, LinearVelocityUnit>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, LinearVelocityUnit> div(LinearVelocity divisor) {
    return (Per<AngularAccelerationUnit, LinearVelocityUnit>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, LinearVelocityUnit> divide(LinearVelocity divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, MassUnit> times(Mass multiplier) {
    return (Mult<AngularAccelerationUnit, MassUnit>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, MassUnit> div(Mass divisor) {
    return (Per<AngularAccelerationUnit, MassUnit>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, MassUnit> divide(Mass divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, MomentOfInertiaUnit> times(MomentOfInertia multiplier) {
    return (Mult<AngularAccelerationUnit, MomentOfInertiaUnit>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, MomentOfInertiaUnit> div(MomentOfInertia divisor) {
    return (Per<AngularAccelerationUnit, MomentOfInertiaUnit>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, MomentOfInertiaUnit> divide(MomentOfInertia divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, MultUnit<?, ?>> times(Mult<?, ?> multiplier) {
    return (Mult<AngularAccelerationUnit, MultUnit<?, ?>>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, MultUnit<?, ?>> div(Mult<?, ?> divisor) {
    return (Per<AngularAccelerationUnit, MultUnit<?, ?>>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, MultUnit<?, ?>> divide(Mult<?, ?> divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, PerUnit<?, ?>> times(Per<?, ?> multiplier) {
    return (Mult<AngularAccelerationUnit, PerUnit<?, ?>>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, PerUnit<?, ?>> div(Per<?, ?> divisor) {
    return (Per<AngularAccelerationUnit, PerUnit<?, ?>>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, PerUnit<?, ?>> divide(Per<?, ?> divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, PowerUnit> times(Power multiplier) {
    return (Mult<AngularAccelerationUnit, PowerUnit>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, PowerUnit> div(Power divisor) {
    return (Per<AngularAccelerationUnit, PowerUnit>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, PowerUnit> divide(Power divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, ResistanceUnit> times(Resistance multiplier) {
    return (Mult<AngularAccelerationUnit, ResistanceUnit>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, ResistanceUnit> div(Resistance divisor) {
    return (Per<AngularAccelerationUnit, ResistanceUnit>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, ResistanceUnit> divide(Resistance divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, TemperatureUnit> times(Temperature multiplier) {
    return (Mult<AngularAccelerationUnit, TemperatureUnit>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, TemperatureUnit> div(Temperature divisor) {
    return (Per<AngularAccelerationUnit, TemperatureUnit>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, TemperatureUnit> divide(Temperature divisor) {
    return div(divisor);
  }


  @Override
  default AngularVelocity times(Time multiplier) {
    return RadiansPerSecond.of(baseUnitMagnitude() * multiplier.baseUnitMagnitude());
  }

  @Override
  default Velocity<AngularAccelerationUnit> div(Time divisor) {
    return VelocityUnit.combine(unit(), divisor.unit()).ofBaseUnits(baseUnitMagnitude() / divisor.baseUnitMagnitude());
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Velocity<AngularAccelerationUnit> divide(Time divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, TorqueUnit> times(Torque multiplier) {
    return (Mult<AngularAccelerationUnit, TorqueUnit>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, TorqueUnit> div(Torque divisor) {
    return (Per<AngularAccelerationUnit, TorqueUnit>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, TorqueUnit> divide(Torque divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, VelocityUnit<?>> times(Velocity<?> multiplier) {
    return (Mult<AngularAccelerationUnit, VelocityUnit<?>>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, VelocityUnit<?>> div(Velocity<?> divisor) {
    return (Per<AngularAccelerationUnit, VelocityUnit<?>>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, VelocityUnit<?>> divide(Velocity<?> divisor) {
    return div(divisor);
  }


  @Override
  default Mult<AngularAccelerationUnit, VoltageUnit> times(Voltage multiplier) {
    return (Mult<AngularAccelerationUnit, VoltageUnit>) Measure.super.times(multiplier);
  }

  @Override
  default Per<AngularAccelerationUnit, VoltageUnit> div(Voltage divisor) {
    return (Per<AngularAccelerationUnit, VoltageUnit>) Measure.super.div(divisor);
  }

  /**
  * {@inheritDoc}
  *
  * @deprecated use div instead. This was renamed for consistency with other languages like Kotlin
  */
  @Deprecated(since = "2025", forRemoval = true)
  @SuppressWarnings({"deprecation", "removal"})
  @Override
  default Per<AngularAccelerationUnit, VoltageUnit> divide(Voltage divisor) {
    return div(divisor);
  }

}
