Provides methods that produce Uniformity[String]
instances for various
ways to normalize strings for equality comparisons.
- Companion:
- object
- Source:
- StringNormalizations.scala
Value members
Concrete fields
Produces a Uniformity[String]
whose normalized
method
returns the result of invoking toLowerCase
on the passed string.
Produces a Uniformity[String]
whose normalized
method
returns the result of invoking toLowerCase
on the passed string.
- Returns:
a
Uniformity[String]
that normalizes by transforming strings to lower case.- Source:
- StringNormalizations.scala
Produces a Uniformity[String]
whose normalized
method
returns the result of invoking trim
on the passed string.
Produces a Uniformity[String]
whose normalized
method
returns the result of invoking trim
on the passed string.
- Returns:
a
Uniformity[String]
that normalizes strings by trimming them.- Source:
- StringNormalizations.scala
Produces a Uniformity[String]
whose normalized
method
returns the result of invoking toUpperCase
on the passed string.
Produces a Uniformity[String]
whose normalized
method
returns the result of invoking toUpperCase
on the passed string.
- Returns:
a
Uniformity[String]
that normalizes by transforming strings to upper case.- Source:
- StringNormalizations.scala