Package edu.wpi.first.units.measure
Class MutPer<Dividend extends Unit,Divisor extends Unit>
java.lang.Object
edu.wpi.first.units.mutable.MutableMeasureBase<PerUnit<Dividend,Divisor>,Per<Dividend,Divisor>,MutPer<Dividend,Divisor>>
edu.wpi.first.units.measure.MutPer<Dividend,Divisor>
- All Implemented Interfaces:
Measure<PerUnit<Dividend,
,Divisor>> Per<Dividend,
,Divisor> MutableMeasure<PerUnit<Dividend,
,Divisor>, Per<Dividend, Divisor>, MutPer<Dividend, Divisor>> Comparable<Measure<PerUnit<Dividend,
Divisor>>>
-
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
-
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
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
Methods inherited from interface edu.wpi.first.units.measure.Per
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, reciprocal, 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, timesDivisor, unaryMinus, unit
-
Constructor Details
-
MutPer
-
-
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 interfaceMeasure<Dividend extends Unit>
- Specified by:
copy
in interfaceMutableMeasure<PerUnit<Dividend extends Unit,
Divisor extends Unit>, Per<Dividend extends Unit, Divisor extends Unit>, MutPer<Dividend extends Unit, Divisor extends Unit>> - Specified by:
copy
in interfacePer<Dividend extends Unit,
Divisor extends Unit> - Returns:
- the copied measure
-