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 charsNelErr(s: String, message: ⇒ String): NonEmptyList[Char]

    Permalink
    Definition Classes
    StringFunctions
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def encode(s: String)(implicit c: CharSet): Array[Byte]

    Permalink

    Encode s according to a Java character set identifier.

    Encode s according to a Java character set identifier.

    Definition Classes
    StringFunctions
  10. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    StringInstances
  30. object stringSyntax extends ToStringOps

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

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

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

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

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

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

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

Inherited from StringFunctions

Inherited from StringInstances

Inherited from AnyRef

Inherited from Any

Ungrouped