Object

scalaz.std

string

Related Doc: package std

Permalink

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
Visibility
  1. Public
  2. All

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def charsNel(s: String, 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.

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

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

    Permalink

    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
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. def parseBigDecimal(s: String): Validation[NumberFormatException, BigDecimal]

    Permalink
  18. def parseBigInt(s: String): Validation[NumberFormatException, BigInt]

    Permalink
  19. def parseBoolean(s: String): Validation[IllegalArgumentException, Boolean]

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

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

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

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

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

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

    Permalink
    Definition Classes
    StringFunctions
  26. def plural(s: String, 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.

    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
  27. implicit object stringInstance extends Monoid[String] with Show[String] with Equal[String] with Order[String] with IsEmpty[[α]String]

    Permalink
    Definition Classes
    StringInstances
  28. object stringSyntax extends ToStringOps

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

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

    Permalink
    Definition Classes
    StringFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 7.2) Unsafe. Use charsNel instead

  2. def unsafeCharsNel(s: String): NonEmptyList[Char]

    Permalink
    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