Class

scalaz.syntax.std

StringOps

Related Doc: package std

Permalink

final class StringOps extends AnyVal

Source
StringOps.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StringOps(self: String)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def charsNel(e: ⇒ NonEmptyList[Char]): NonEmptyList[Char]

    Permalink

    Constructs a non-empty list with the given string if it is not empty, otherwise, returns the second argument.

  6. def charsNel: Option[NonEmptyList[Char]]

    Permalink

    Constructs a non-empty list with the value if it is not empty, otherwise, throws an error.

  7. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  9. def parseBigDecimal: Validation[NumberFormatException, BigDecimal]

    Permalink
  10. def parseBigInt: Validation[NumberFormatException, BigInt]

    Permalink
  11. def parseBoolean: Validation[IllegalArgumentException, Boolean]

    Permalink
  12. def parseByte: Validation[NumberFormatException, Byte]

    Permalink
  13. def parseDouble: Validation[NumberFormatException, Double]

    Permalink
  14. def parseFloat: Validation[NumberFormatException, Float]

    Permalink
  15. def parseInt: Validation[NumberFormatException, Int]

    Permalink
  16. def parseLong: Validation[NumberFormatException, Long]

    Permalink
  17. def parseShort: Validation[NumberFormatException, Short]

    Permalink
  18. def plural(n: Long): String

    Permalink

    Returns the same String value if the given value is 1 otherwise pluralises this String by appending an "s" unless this String ends with "y" and not one of ["ay", "ey", "iy", "oy", "uy"] in which case the 'y' character is chopped and "ies" is appended.

  19. val self: String

    Permalink
  20. def toString(): String

    Permalink
    Definition Classes
    Any

Deprecated Value Members

  1. def charsNelErr(message: ⇒ String): NonEmptyList[Char]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 7.2) Unsafe. Use charsNel instead

  2. def unsafeCharsNel: NonEmptyList[Char]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 7.2) Unsafe. Use charsNel instead

Inherited from AnyVal

Inherited from Any

Ungrouped