Normalizer

org.scalactic.NormMethods.Normalizer
final class Normalizer[T](o: T)(implicit normalization: Normalization[T])

Class containing a norm method that normalizes the given object o of type T via the implicitly passed Normalization[T].

Attributes

Source
NormMethods.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def norm: T

Normalizes the object o of type T via the implicitly passed Normalization[T] passed to the constructor of this Normalizer.

Normalizes the object o of type T via the implicitly passed Normalization[T] passed to the constructor of this Normalizer.

Attributes

Returns

a normalized form of o

Source
NormMethods.scala