// 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.*;
import edu.wpi.first.units.mutable.MutableMeasureBase;

@SuppressWarnings({"unchecked", "cast", "checkstyle", "PMD"})
public final class MutCurrent
  extends MutableMeasureBase<CurrentUnit, Current, MutCurrent>
  implements Current {
  public MutCurrent(double magnitude, double baseUnitMagnitude, CurrentUnit unit) {
    super(magnitude, baseUnitMagnitude, unit);
  }

  @Override
  public Current copy() {
    return new ImmutableCurrent(magnitude(), baseUnitMagnitude(), unit());
  }
}
