Class

eu.shiftforward.apso.Implicits

ApsoString

Related Doc: package Implicits

Permalink

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)

    Permalink

    s

    the string to which the new methods are provided.

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  7. val s: String

    Permalink

    the string to which the new methods are provided.

  8. def toString(): String

    Permalink
    Definition Classes
    Any

Deprecated Value Members

  1. def enumerate(n: Int): IndexedSeq[String]

    Permalink

    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.

    Annotations
    @deprecated
    Deprecated

    (Since version 2017/07/13) This will be removed in a future version

  2. def getBytesWithNullTerminator: Array[Byte]

    Permalink

    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.

    Annotations
    @deprecated
    Deprecated

    (Since version 2017/07/13) This will be removed in a future version

  3. def padLeft(length: Int, ch: Char): String

    Permalink

    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.

    Annotations
    @deprecated
    Deprecated

    (Since version 2017/07/13) This will be removed in a future version

Inherited from AnyVal

Inherited from Any

Ungrouped