final class PlusOrMinusWrapper[T] extends AnyRef
Wrapper class with a +-
method that, given a Numeric
argument, returns a Spread
.
- Source
- Tolerance.scala
- Alphabetic
- By Inheritance
- PlusOrMinusWrapper
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PlusOrMinusWrapper(pivot: T)(implicit arg0: Numeric[T])
Value Members
- def +-(tolerance: T): Spread[T]
Creates and returns a
Spread
from the
pivot
passed to the constructor and thetolerance
passed to this method.Creates and returns a
Spread
from the
pivot
passed to the constructor and thetolerance
passed to this method.tolerance
the tolerance with which to create (and return) the
Spread