Packages

implicit final class ApsoString extends AnyVal

Implicit class that provides new methods for strings.

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ApsoString
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ApsoString(s: String)

    s

    the string to which the new methods are provided.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def enumerate(n: Int): IndexedSeq[String]

    Enumerates all the strings of a given length using the characters of this string as alphabet.

    Enumerates all the strings of a given length using the characters of this string as alphabet.

    n

    the number of letters of each returned string

    returns

    a sequence of strings of length n consisting of characters from this string.

  6. def getBytesWithNullTerminator: Array[Byte]

    Returns the UTF-8 byte array representation of this string with a trailing zero byte.

    Returns the UTF-8 byte array representation of this string with a trailing zero byte.

    returns

    the UTF-8 byte array representation of this string with a trailing zero byte.

  7. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. def padLeft(length: Int, ch: Char): String

    Pads this string on the left to a given length.

    Pads this string on the left to a given length.

    length

    the length to which this string is to be padded

    ch

    the character used to fill the string

    returns

    the padded string.

  10. val s: String
  11. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped