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 charsNelErr(s: String, message: ⇒ String): NonEmptyList[Char]
    Definition Classes
    StringFunctions
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def encode(s: String)(implicit c: CharSet): Array[Byte]

    Encode s according to a Java character set identifier.

    Encode s according to a Java character set identifier.

    Definition Classes
    StringFunctions
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  20. def parseBigDecimal(s: String): Validation[NumberFormatException, BigDecimal]
  21. def parseBigInt(s: String): Validation[NumberFormatException, BigInt]
  22. def parseBoolean(s: String): Validation[IllegalArgumentException, Boolean]
    Definition Classes
    StringFunctions
  23. def parseByte(s: String): Validation[NumberFormatException, Byte]
    Definition Classes
    StringFunctions
  24. def parseDouble(s: String): Validation[NumberFormatException, Double]
    Definition Classes
    StringFunctions
  25. def parseFloat(s: String): Validation[NumberFormatException, Float]
    Definition Classes
    StringFunctions
  26. def parseInt(s: String): Validation[NumberFormatException, Int]
    Definition Classes
    StringFunctions
  27. def parseLong(s: String): Validation[NumberFormatException, Long]
    Definition Classes
    StringFunctions
  28. def parseShort(s: String): Validation[NumberFormatException, Short]
    Definition Classes
    StringFunctions
  29. 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
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. def unsafeCharsNel(s: String): NonEmptyList[Char]
    Definition Classes
    StringFunctions
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. object stringSyntax extends ToStringOps

Inherited from StringFunctions

Inherited from StringInstances

Inherited from AnyRef

Inherited from Any

Ungrouped