Package edu.wpi.first.units.measure
Class MutLinearAcceleration
java.lang.Object
edu.wpi.first.units.mutable.MutableMeasureBase<LinearAccelerationUnit,LinearAcceleration,MutLinearAcceleration>
edu.wpi.first.units.measure.MutLinearAcceleration
- All Implemented Interfaces:
Measure<LinearAccelerationUnit>
,LinearAcceleration
,MutableMeasure<LinearAccelerationUnit,
,LinearAcceleration, MutLinearAcceleration> Comparable<Measure<LinearAccelerationUnit>>
public final class MutLinearAcceleration
extends MutableMeasureBase<LinearAccelerationUnit,LinearAcceleration,MutLinearAcceleration>
implements LinearAcceleration
-
Field Summary
Fields inherited from class edu.wpi.first.units.mutable.MutableMeasureBase
m_baseUnitMagnitude, m_magnitude, m_unit
Fields inherited from interface edu.wpi.first.units.Measure
EQUIVALENCE_THRESHOLD
-
Constructor Summary
ConstructorDescriptionMutLinearAcceleration
(double magnitude, double baseUnitMagnitude, LinearAccelerationUnit unit) -
Method Summary
Methods inherited from class edu.wpi.first.units.mutable.MutableMeasureBase
baseUnitMagnitude, equals, hashCode, magnitude, mut_replace, toString, unit
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface edu.wpi.first.units.measure.LinearAcceleration
baseUnit, div, div, div, div, div, div, div, div, div, div, div, div, div, div, div, div, div, div, div, div, div, div, div, div, div, div, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, in, minus, mutableCopy, negate, per, plus, times, times, times, times, times, times, times, times, times, times, times, times, times, times, times, times, times, times, times, times, times, times, times, times, times, times, unaryMinus, unit
Methods inherited from interface edu.wpi.first.units.Measure
abs, baseUnitMagnitude, compareTo, copySign, div, divide, divideRatio, gt, gte, isEquivalent, isNear, isNear, lt, lte, magnitude, times, timesConversionFactor, timesInverse, timesRatio, toLongString, toShortString
Methods inherited from interface edu.wpi.first.units.MutableMeasure
mut_acc, mut_acc, mut_divide, mut_divide, mut_minus, mut_minus, mut_plus, mut_plus, mut_replace, mut_setBaseUnitMagnitude, mut_setMagnitude, mut_times, mut_times
-
Constructor Details
-
MutLinearAcceleration
public MutLinearAcceleration(double magnitude, double baseUnitMagnitude, LinearAccelerationUnit unit)
-
-
Method Details
-
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 interfaceLinearAcceleration
- Specified by:
copy
in interfaceMeasure<LinearAccelerationUnit>
- Specified by:
copy
in interfaceMutableMeasure<LinearAccelerationUnit,
LinearAcceleration, MutLinearAcceleration> - Returns:
- the copied measure
-