c

org.cvogt.scala

StringExtensions

implicit final class StringExtensions extends AnyVal

Source
package.scala
Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringExtensions
  2. AnyVal
  3. Any
Implicitly
  1. by AnyExtensions
  2. by AnyExtensions
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StringExtensions(s: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from StringExtensions to any2stringadd[StringExtensions] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (StringExtensions, B)
    Implicit
    This member is added by an implicit conversion from StringExtensions to ArrowAssoc[StringExtensions] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def commonLinePrefix: String

    find the largest common prefix among all lines of the given string

  8. def containsTyped(s2: String): Boolean

    type-safe substring check

  9. def ensuring(cond: (StringExtensions) ⇒ Boolean, msg: ⇒ Any): StringExtensions
    Implicit
    This member is added by an implicit conversion from StringExtensions to Ensuring[StringExtensions] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (StringExtensions) ⇒ Boolean): StringExtensions
    Implicit
    This member is added by an implicit conversion from StringExtensions to Ensuring[StringExtensions] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): StringExtensions
    Implicit
    This member is added by an implicit conversion from StringExtensions to Ensuring[StringExtensions] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): StringExtensions
    Implicit
    This member is added by an implicit conversion from StringExtensions to Ensuring[StringExtensions] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from StringExtensions to StringFormat[StringExtensions] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  14. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  15. def indent: String

    indents every line by two spaces

  16. def indent(width: Int): String

    indents every line by twice the given number of spaces

  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def prefixLines(prefix: String): String

    prefixes every line with the given prefix

  19. val s: String
  20. def stripIndent: String

    finds a common whitespace prefix of all lines that contain non-whitespace characters and removes it's number of characters from all lines.

    finds a common whitespace prefix of all lines that contain non-whitespace characters and removes it's number of characters from all lines. (Also converts line endings to system default line endings).

  21. def toString(): String
    Definition Classes
    Any
  22. def trimLeft: String

    trim whitespace from the left of the string

  23. def trimLinesLeft: String

    trim whitespace from the left of each line of the string

  24. def trimLinesRight: String

    trim whitespace from the right of each line of the string

  25. def trimRight: String

    trim whitespace from the right of the string

  26. def →[B](y: B): (StringExtensions, B)
    Implicit
    This member is added by an implicit conversion from StringExtensions to ArrowAssoc[StringExtensions] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def in(set: Set[StringExtensions]): Boolean

    Tests whether the given set contains this value as an element

    Tests whether the given set contains this value as an element

    Implicit
    This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (stringExtensions: AnyExtensions[StringExtensions]).in(set)
    Definition Classes
    AnyExtensions
  2. def in(seq: Seq[StringExtensions]): Boolean

    Tests whether the given sequence contains this value as an element

    Tests whether the given sequence contains this value as an element

    Implicit
    This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (stringExtensions: AnyExtensions[StringExtensions]).in(seq)
    Definition Classes
    AnyExtensions
  3. def in(set: Set[StringExtensions]): Boolean

    Tests whether the given set contains this value as an element

    Tests whether the given set contains this value as an element

    Implicit
    This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (stringExtensions: AnyExtensions[StringExtensions]).in(set)
    Definition Classes
    AnyExtensions
  4. def in(seq: Seq[StringExtensions]): Boolean

    Tests whether the given sequence contains this value as an element

    Tests whether the given sequence contains this value as an element

    Implicit
    This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (stringExtensions: AnyExtensions[StringExtensions]).in(seq)
    Definition Classes
    AnyExtensions
  5. def notIn(set: Set[StringExtensions]): Boolean

    Tests whether the given set does NOT contains this value as an element

    Tests whether the given set does NOT contains this value as an element

    Implicit
    This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (stringExtensions: AnyExtensions[StringExtensions]).notIn(set)
    Definition Classes
    AnyExtensions
  6. def notIn(seq: Seq[StringExtensions]): Boolean

    Tests whether the given sequence does NOT contains this value as an element

    Tests whether the given sequence does NOT contains this value as an element

    Implicit
    This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (stringExtensions: AnyExtensions[StringExtensions]).notIn(seq)
    Definition Classes
    AnyExtensions
  7. def notIn(set: Set[StringExtensions]): Boolean

    Tests whether the given set does NOT contains this value as an element

    Tests whether the given set does NOT contains this value as an element

    Implicit
    This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (stringExtensions: AnyExtensions[StringExtensions]).notIn(set)
    Definition Classes
    AnyExtensions
  8. def notIn(seq: Seq[StringExtensions]): Boolean

    Tests whether the given sequence does NOT contains this value as an element

    Tests whether the given sequence does NOT contains this value as an element

    Implicit
    This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (stringExtensions: AnyExtensions[StringExtensions]).notIn(seq)
    Definition Classes
    AnyExtensions
  9. val value: StringExtensions
    Implicit
    This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (stringExtensions: AnyExtensions[StringExtensions]).value
    Definition Classes
    AnyExtensions
  10. val value: StringExtensions
    Implicit
    This member is added by an implicit conversion from StringExtensions to AnyExtensions[StringExtensions] performed by method AnyExtensions in org.cvogt.scala.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (stringExtensions: AnyExtensions[StringExtensions]).value
    Definition Classes
    AnyExtensions

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion AnyExtensions from StringExtensions to AnyExtensions[StringExtensions]

Inherited by implicit conversion AnyExtensions from StringExtensions to AnyExtensions[StringExtensions]

Inherited by implicit conversion any2stringadd from StringExtensions to any2stringadd[StringExtensions]

Inherited by implicit conversion StringFormat from StringExtensions to StringFormat[StringExtensions]

Inherited by implicit conversion Ensuring from StringExtensions to Ensuring[StringExtensions]

Inherited by implicit conversion ArrowAssoc from StringExtensions to ArrowAssoc[StringExtensions]

Ungrouped