Packages

o

scalaz.std

string

object string extends StringInstances with StringFunctions

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. string
  2. StringFunctions
  3. StringInstances
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. implicit object stringInstance extends Monoid[String] with Show[String] with Equal[String] with Order[String] with IsEmpty[[α]String]
    Definition Classes
    StringInstances
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##(): Int
    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def charsNel(s: String, e: ⇒ NonEmptyList[Char]): NonEmptyList[Char]

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

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

    Definition Classes
    StringFunctions
  7. def charsNel(s: String): Option[NonEmptyList[Char]]

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

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

    Definition Classes
    StringFunctions
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def parseBigDecimal(s: String): Validation[NumberFormatException, BigDecimal]
  19. def parseBigInt(s: String): Validation[NumberFormatException, BigInt]
  20. def parseBoolean(s: String): Validation[IllegalArgumentException, Boolean]
    Definition Classes
    StringFunctions
  21. def parseByte(s: String): Validation[NumberFormatException, Byte]
    Definition Classes
    StringFunctions
  22. def parseDouble(s: String): Validation[NumberFormatException, Double]
    Definition Classes
    StringFunctions
  23. def parseFloat(s: String): Validation[NumberFormatException, Float]
    Definition Classes
    StringFunctions
  24. def parseInt(s: String): Validation[NumberFormatException, Int]
    Definition Classes
    StringFunctions
  25. def parseLong(s: String): Validation[NumberFormatException, Long]
    Definition Classes
    StringFunctions
  26. def parseShort(s: String): Validation[NumberFormatException, Short]
    Definition Classes
    StringFunctions
  27. def plural(s: String, 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.

    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.

    Definition Classes
    StringFunctions
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  33. object stringSyntax extends ToStringOps

Deprecated Value Members

  1. def charsNelErr(s: String, message: ⇒ String): NonEmptyList[Char]
    Definition Classes
    StringFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 7.2) Unsafe. Use charsNel instead

  2. def unsafeCharsNel(s: String): NonEmptyList[Char]
    Definition Classes
    StringFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 7.2) Unsafe. Use charsNel instead

Inherited from StringFunctions

Inherited from StringInstances

Inherited from AnyRef

Inherited from Any

Ungrouped