PlusOrMinusWrapper

final class PlusOrMinusWrapper[T](pivot: T)(implicit evidence$1: Numeric[T])

Wrapper class with a +- method that, given a Numeric argument, returns a Spread.

Value parameters:
tolerance

the tolerance with which to create (and return) a Spread

Source:
Tolerance.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

def +-(tolerance: T): Spread[T]

Creates and returns a Spread from the pivot passed to the constructor and the tolerance passed to this method.

Creates and returns a Spread from the pivot passed to the constructor and the tolerance passed to this method.

Value parameters:
tolerance

the tolerance with which to create (and return) the Spread

Source:
Tolerance.scala