scalaz.std

string

object string extends StringInstances with StringFunctions

Source
String.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. string
  2. StringFunctions
  3. StringInstances
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. 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
  8. 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
  9. def charsNelErr(s: String, message: ⇒ String): NonEmptyList[Char]

    Definition Classes
    StringFunctions
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. 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
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def parseBoolean(s: String): Validation[IllegalArgumentException, Boolean]

    Definition Classes
    StringFunctions
  22. def parseByte(s: String): Validation[NumberFormatException, Byte]

    Definition Classes
    StringFunctions
  23. def parseDouble(s: String): Validation[NumberFormatException, Double]

    Definition Classes
    StringFunctions
  24. def parseFloat(s: String): Validation[NumberFormatException, Float]

    Definition Classes
    StringFunctions
  25. def parseInt(s: String): Validation[NumberFormatException, Int]

    Definition Classes
    StringFunctions
  26. def parseLong(s: String): Validation[NumberFormatException, Long]

    Definition Classes
    StringFunctions
  27. def parseShort(s: String): Validation[NumberFormatException, Short]

    Definition Classes
    StringFunctions
  28. 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
  29. implicit object stringInstance extends Monoid[String] with Show[String] with Equal[String] with Order[String] with IsEmpty[[α]String]

    Definition Classes
    StringInstances
  30. object stringSyntax extends ToStringOps

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. def unsafeCharsNel(s: String): NonEmptyList[Char]

    Definition Classes
    StringFunctions
  34. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StringFunctions

Inherited from StringInstances

Inherited from AnyRef

Inherited from Any

Ungrouped