Packages

c

scalaz.syntax.std

StringOps

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. Protected

Instance Constructors

  1. new StringOps(self: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def charsNel(e: => NonEmptyList[Char]): NonEmptyList[Char]

    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]]

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

  7. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. def parseBigDecimal: Validation[NumberFormatException, BigDecimal]
  10. def parseBigInt: Validation[NumberFormatException, BigInt]
  11. def parseBoolean: Validation[IllegalArgumentException, Boolean]
  12. def parseByte: Validation[NumberFormatException, Byte]
  13. def parseDouble: Validation[NumberFormatException, Double]
  14. def parseFloat: Validation[NumberFormatException, Float]
  15. def parseInt: Validation[NumberFormatException, Int]
  16. def parseLong: Validation[NumberFormatException, Long]
  17. def parseShort: Validation[NumberFormatException, Short]
  18. def plural(n: Long): String

    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
  20. def toString(): String
    Definition Classes
    Any

Deprecated Value Members

  1. def charsNelErr(message: => String): NonEmptyList[Char]
    Annotations
    @deprecated
    Deprecated

    (Since version 7.2) Unsafe. Use charsNel instead

  2. def unsafeCharsNel: NonEmptyList[Char]
    Annotations
    @deprecated
    Deprecated

    (Since version 7.2) Unsafe. Use charsNel instead

Inherited from AnyVal

Inherited from Any

Ungrouped