scala

Predef

object Predef extends LowPriorityImplicits

The Predef object provides definitions that are accessible in all Scala compilation units without explicit qualification.

Commonly Used Types

Predef provides type aliases for types which are commonly used, such as the immutable collection types Map, Set, and the List constructors (scala.collection.immutable.:: and scala.collection.immutable.Nil). The types Pair (a Tuple2) and Triple (a Tuple3), with simple constructors, are also provided.

Console I/O

Predef provides a number of simple functions for console I/O, such as print, println, readLine, readInt, etc. These functions are all aliases of the functions provided by scala.Console.

Assertions

A set of assert functions are provided for use as a way to document and dynamically check invariants in code. assert statements can be elided at runtime by providing the command line argument -Xdisable-assertions to the scala command.

Variants of assert intended for use with static analysis tools are also provided: assume, require and ensuring. require and ensuring are intended for use as a means of design-by-contract style specification of pre- and post-conditions on functions, with the intention that these specifications could be consumed by a static analysis tool. For instance,

def addNaturals(nats: List[Int]): Int = {
  require(nats forall (_ >= 0), "List contains negative numbers")
  nats.foldLeft(0)(_ + _)
} ensuring(_ >= 0)

The declaration of addNaturals states that the list of integers passed should only contain natural numbers (i.e. non-negative), and that the result returned will also be natural. require is distinct from assert in that if the condition fails, then the caller of the function is to blame rather than a logical error having been made within addNaturals itself. ensures is a form of assert that declares the guarantee the function is providing with regards to it's return value.

Implicit Conversions

A number of commonly applied implicit conversions are also defined here, and in the parent type LowPriorityImplicits. Implicit conversions are provided for the "widening" of numeric values, for instance, converting a Short value to a Long value as required, and to add additional higher-order functions to Array values. These are described in more detail in the documentation of Array.

Source
Predef.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Predef
  2. LowPriorityImplicits
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class <:<[-From, +To] extends (From) ⇒ To with Serializable

    An instance of A <:< B witnesses that A is a subtype of B.

  2. sealed abstract class =:=[From, To] extends (From) ⇒ To with Serializable

    An instance of A =:= B witnesses that the types A and B are equal.

  3. final class ArrowAssoc[A] extends AnyVal

  4. type Class[T] = Class[T]

  5. type ClassManifest[T] = ClassManifest[T]

  6. class DummyImplicit extends AnyRef

    A type for which there is always an implicit value.

  7. final class Ensuring[A] extends AnyVal

  8. type Function[-A, +B] = (A) ⇒ B

  9. type Manifest[T] = Manifest[T]

  10. type Map[A, +B] = Map[A, B]

  11. type OptManifest[T] = OptManifest[T]

  12. type Pair[+A, +B] = (A, B)

  13. type Set[A] = Set[A]

  14. type String = String

  15. type Triple[+A, +B, +C] = (A, B, C)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Test two objects for inequality.

    Test two objects for inequality.

    returns

    true if !(this == that), false otherwise.

    Definition Classes
    Any
  3. final def ##(): Int

    Equivalent to x.hashCode except for boxed numeric types and null.

    Equivalent to x.hashCode except for boxed numeric types and null. For numerics, it returns a hash value which is consistent with value equality: if two value type instances compare as true, then ## will produce the same hash value for each of them. For null returns a hashcode where null.hashCode throws a NullPointerException.

    returns

    a hash value consistent with ==

    Definition Classes
    AnyRef → Any
  4. val $scope: xml.TopScope.type

  5. object =:= extends Serializable

  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Test two objects for equality.

    Test two objects for equality. The expression x == that is equivalent to if (x eq null) that eq null else x.equals(that).

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Definition Classes
    Any
  8. def ???: Nothing

    ??? can be used for marking methods that remain to be implemented.

    ??? can be used for marking methods that remain to be implemented.

    Exceptions thrown
    A

    NotImplementedError

  9. implicit def Boolean2boolean(x: Boolean): Boolean

  10. implicit def Boolean2booleanNullConflict(x: Null): Boolean

    Definition Classes
    LowPriorityImplicits
  11. implicit def Byte2byte(x: Byte): Byte

  12. implicit def Byte2byteNullConflict(x: Null): Byte

    Definition Classes
    LowPriorityImplicits
  13. implicit def Character2char(x: Character): Char

  14. implicit def Character2charNullConflict(x: Null): Char

    Definition Classes
    LowPriorityImplicits
  15. val ClassManifest: reflect.ClassManifest.type

  16. implicit def Double2double(x: Double): Double

  17. implicit def Double2doubleNullConflict(x: Null): Double

    Definition Classes
    LowPriorityImplicits
  18. object DummyImplicit extends AnyRef

  19. implicit def Float2float(x: Float): Float

  20. implicit def Float2floatNullConflict(x: Null): Float

    Definition Classes
    LowPriorityImplicits
  21. implicit def Integer2int(x: Integer): Int

  22. implicit def Integer2intNullConflict(x: Null): Int

    Definition Classes
    LowPriorityImplicits
  23. implicit def Long2long(x: Long): Long

  24. implicit def Long2longNullConflict(x: Null): Long

    Definition Classes
    LowPriorityImplicits
  25. val Manifest: reflect.Manifest.type

  26. val Map: scala.collection.immutable.Map.type

  27. val NoManifest: reflect.NoManifest.type

  28. object Pair extends Serializable

  29. val Set: scala.collection.immutable.Set.type

  30. implicit def Short2short(x: Short): Short

  31. implicit def Short2shortNullConflict(x: Null): Short

    Definition Classes
    LowPriorityImplicits
  32. implicit val StringCanBuildFrom: CanBuildFrom[String, Char, String]

  33. object Triple extends Serializable

  34. implicit def any2ArrowAssoc[A](x: A): ArrowAssoc[A]

    Annotations
    @inline()
  35. implicit def any2Ensuring[A](x: A): Ensuring[A]

    Annotations
    @inline()
  36. implicit def any2stringadd(x: Any): StringAdd

  37. implicit def any2stringfmt(x: Any): StringFormat

    Annotations
    @inline()
  38. implicit def arrayToCharSequence(xs: Array[Char]): CharSequence

  39. final def asInstanceOf[T0]: T0

    Cast the receiver object to be of type T0.

    Cast the receiver object to be of type T0.

    Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression 1.asInstanceOf[String] will throw a ClassCastException at runtime, while the expression List(1).asInstanceOf[List[String]] will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested type.

    returns

    the receiver object.

    Definition Classes
    Any
    Exceptions thrown
    ClassCastException

    if the receiver object is not an instance of the erasure of type T0.

  40. final def assert(assertion: Boolean, message: ⇒ Any): Unit

    Tests an expression, throwing an AssertionError if false.

    Tests an expression, throwing an AssertionError if false. Calls to this method will not be generated if -Xelide-below is at least ASSERTION.

    assertion

    the expression to test

    message

    a String to include in the failure message

    Annotations
    @elidable( level = ASSERTION ) @inline()
    See also

    elidable

  41. def assert(assertion: Boolean): Unit

    Tests an expression, throwing an AssertionError if false.

    Tests an expression, throwing an AssertionError if false. Calls to this method will not be generated if -Xelide-below is at least ASSERTION.

    assertion

    the expression to test

    Annotations
    @elidable( level = ASSERTION )
    See also

    elidable

  42. final def assume(assumption: Boolean, message: ⇒ Any): Unit

    Tests an expression, throwing an AssertionError if false.

    Tests an expression, throwing an AssertionError if false. This method differs from assert only in the intent expressed: assert contains a predicate which needs to be proven, while assume contains an axiom for a static checker. Calls to this method will not be generated if -Xelide-below is at least ASSERTION.

    assumption

    the expression to test

    message

    a String to include in the failure message

    Annotations
    @elidable( level = ASSERTION ) @inline()
    See also

    elidable

  43. def assume(assumption: Boolean): Unit

    Tests an expression, throwing an AssertionError if false.

    Tests an expression, throwing an AssertionError if false. This method differs from assert only in the intent expressed: assert contains a predicate which needs to be proven, while assume contains an axiom for a static checker. Calls to this method will not be generated if -Xelide-below is at least ASSERTION.

    assumption

    the expression to test

    Annotations
    @elidable( level = ASSERTION )
    See also

    elidable

  44. implicit def augmentString(x: String): StringOps

    Annotations
    @inline()
  45. implicit def boolean2Boolean(x: Boolean): Boolean

  46. implicit def boolean2BooleanConflict(x: Boolean): AnyRef

  47. implicit def booleanArrayOps(xs: Array[Boolean]): ArrayOps[Boolean]

  48. implicit def booleanWrapper(x: Boolean): RichBoolean

    Definition Classes
    LowPriorityImplicits
  49. implicit def byte2Byte(x: Byte): Byte

  50. implicit def byte2ByteConflict(x: Byte): AnyRef

  51. implicit def byteArrayOps(xs: Array[Byte]): ArrayOps[Byte]

  52. implicit def byteWrapper(x: Byte): RichByte

    We prefer the java.

    We prefer the java.lang.* boxed types to these wrappers in any potential conflicts. Conflicts do exist because the wrappers need to implement ScalaNumber in order to have a symmetric equals method, but that implies implementing java.lang.Number as well.

    Definition Classes
    LowPriorityImplicits
  53. implicit def char2Character(x: Char): Character

  54. implicit def char2CharacterConflict(x: Char): AnyRef

  55. implicit def charArrayOps(xs: Array[Char]): ArrayOps[Char]

  56. implicit def charWrapper(c: Char): RichChar

    Definition Classes
    LowPriorityImplicits
  57. def classManifest[T](implicit m: ClassManifest[T]): ClassManifest[T]

  58. def classOf[T]: Class[T]

    Retrieve the runtime representation of a class type.

    Retrieve the runtime representation of a class type. classOf[T] is equivalent to the class literal T.class in Java.

    Example:
    1. val listClass = classOf[List[_]]
      // listClass is java.lang.Class[List[_]] = class scala.collection.immutable.List
      
      val mapIntString = classOf[Map[Int,String]]
      // mapIntString is java.lang.Class[Map[Int,String]] = interface scala.collection.immutable.Map
  59. def clone(): AnyRef

    Create a copy of the receiver object.

    Create a copy of the receiver object.

    The default implementation of the clone method is platform dependent.

    returns

    a copy of the receiver object.

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
    Note

    not specified by SLS as a member of AnyRef

  60. implicit def conforms[A]: <:<[A, A]

  61. implicit def double2Double(x: Double): Double

  62. implicit def double2DoubleConflict(x: Double): AnyRef

  63. implicit def doubleArrayOps(xs: Array[Double]): ArrayOps[Double]

  64. implicit def doubleWrapper(x: Double): RichDouble

    Definition Classes
    LowPriorityImplicits
  65. final def eq(arg0: AnyRef): Boolean

    Tests whether the argument (arg0) is a reference to the receiver object (this).

    Tests whether the argument (arg0) is a reference to the receiver object (this).

    The eq method implements an equivalence relation on non-null instances of AnyRef, and has three additional properties:

    • It is consistent: for any non-null instances x and y of type AnyRef, multiple invocations of x.eq(y) consistently returns true or consistently returns false.
    • For any non-null instance x of type AnyRef, x.eq(null) and null.eq(x) returns false.
    • null.eq(null) returns true.

    When overriding the equals or hashCode methods, it is important to ensure that their behavior is consistent with reference equality. Therefore, if two objects are references to each other (o1 eq o2), they should be equal to each other (o1 == o2) and they should hash to the same value (o1.hashCode == o2.hashCode).

    returns

    true if the argument is a reference to the receiver object; false otherwise.

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

    The equality method for reference types.

    The equality method for reference types. Default implementation delegates to eq.

    See also equals in Any.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Definition Classes
    AnyRef → Any
  67. implicit def exceptionWrapper(exc: Throwable): RichException

  68. implicit def fallbackStringCanBuildFrom[T]: CanBuildFrom[String, T, IndexedSeq[T]]

    Definition Classes
    LowPriorityImplicits
  69. def finalize(): Unit

    Called by the garbage collector on the receiver object when there are no more references to the object.

    Called by the garbage collector on the receiver object when there are no more references to the object.

    The details of when and if the finalize method is invoked, as well as the interaction between finalize and non-local returns and exceptions, are all platform dependent.

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
    Note

    not specified by SLS as a member of AnyRef

  70. implicit def float2Float(x: Float): Float

  71. implicit def float2FloatConflict(x: Float): AnyRef

  72. implicit def floatArrayOps(xs: Array[Float]): ArrayOps[Float]

  73. implicit def floatWrapper(x: Float): RichFloat

    Definition Classes
    LowPriorityImplicits
  74. implicit def genericArrayOps[T](xs: Array[T]): ArrayOps[T]

  75. implicit def genericWrapArray[T](xs: Array[T]): WrappedArray[T]

    Definition Classes
    LowPriorityImplicits
  76. final def getClass(): Class[_]

    A representation that corresponds to the dynamic class of the receiver object.

    A representation that corresponds to the dynamic class of the receiver object.

    The nature of the representation is platform dependent.

    returns

    a representation that corresponds to the dynamic class of the receiver object.

    Definition Classes
    AnyRef → Any
    Note

    not specified by SLS as a member of AnyRef

  77. def hashCode(): Int

    The hashCode method for reference types.

    The hashCode method for reference types. See hashCode in Any.

    returns

    the hash code value for this object.

    Definition Classes
    AnyRef → Any
  78. def identity[A](x: A): A

  79. def implicitly[T](implicit e: T): T

    Annotations
    @inline()
  80. implicit def int2Integer(x: Int): Integer

  81. implicit def int2IntegerConflict(x: Int): AnyRef

  82. implicit def intArrayOps(xs: Array[Int]): ArrayOps[Int]

  83. implicit def intWrapper(x: Int): RichInt

    Definition Classes
    LowPriorityImplicits
  84. final def isInstanceOf[T0]: Boolean

    Test whether the dynamic type of the receiver object is T0.

    Test whether the dynamic type of the receiver object is T0.

    Note that the result of the test is modulo Scala's erasure semantics. Therefore the expression 1.isInstanceOf[String] will return false, while the expression List(1).isInstanceOf[List[String]] will return true. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the specified type.

    returns

    true if the receiver object is an instance of erasure of type T0; false otherwise.

    Definition Classes
    Any
  85. def locally[T](x: T): T

    Annotations
    @inline()
  86. implicit def long2Long(x: Long): Long

  87. implicit def long2LongConflict(x: Long): AnyRef

  88. implicit def longArrayOps(xs: Array[Long]): ArrayOps[Long]

  89. implicit def longWrapper(x: Long): RichLong

    Definition Classes
    LowPriorityImplicits
  90. def manifest[T](implicit m: Manifest[T]): Manifest[T]

  91. final def ne(arg0: AnyRef): Boolean

    Equivalent to !(this eq that).

    Equivalent to !(this eq that).

    returns

    true if the argument is not a reference to the receiver object; false otherwise.

    Definition Classes
    AnyRef
  92. final def notify(): Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Definition Classes
    AnyRef
    Note

    not specified by SLS as a member of AnyRef

  93. final def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

    Wakes up all threads that are waiting on the receiver object's monitor.

    Definition Classes
    AnyRef
    Note

    not specified by SLS as a member of AnyRef

  94. def optManifest[T](implicit m: OptManifest[T]): OptManifest[T]

  95. def print(x: Any): Unit

  96. def printf(text: String, xs: Any*): Unit

  97. def println(x: Any): Unit

  98. def println(): Unit

  99. def readBoolean(): Boolean

  100. def readByte(): Byte

  101. def readChar(): Char

  102. def readDouble(): Double

  103. def readFloat(): Float

  104. def readInt(): Int

  105. def readLine(text: String, args: Any*): String

  106. def readLine(): String

  107. def readLong(): Long

  108. def readShort(): Short

  109. def readf(format: String): List[Any]

  110. def readf1(format: String): Any

  111. def readf2(format: String): (Any, Any)

  112. def readf3(format: String): (Any, Any, Any)

  113. implicit def refArrayOps[T <: AnyRef](xs: Array[T]): ArrayOps[T]

  114. final def require(requirement: Boolean, message: ⇒ Any): Unit

    Tests an expression, throwing an IllegalArgumentException if false.

    Tests an expression, throwing an IllegalArgumentException if false. This method is similar to assert, but blames the caller of the method for violating the condition.

    requirement

    the expression to test

    message

    a String to include in the failure message

    Annotations
    @inline()
  115. def require(requirement: Boolean): Unit

    Tests an expression, throwing an IllegalArgumentException if false.

    Tests an expression, throwing an IllegalArgumentException if false. This method is similar to assert, but blames the caller of the method for violating the condition.

    requirement

    the expression to test

  116. implicit def seqToCharSequence(xs: IndexedSeq[Char]): CharSequence

  117. implicit def short2Short(x: Short): Short

  118. implicit def short2ShortConflict(x: Short): AnyRef

  119. implicit def shortArrayOps(xs: Array[Short]): ArrayOps[Short]

  120. implicit def shortWrapper(x: Short): RichShort

    Definition Classes
    LowPriorityImplicits
  121. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  122. def toString(): String

    Creates a String representation of this object.

    Creates a String representation of this object. The default representation is platform dependent. On the java platform it is the concatenation of the class name, "@", and the object's hashcode in hexadecimal.

    returns

    a String representation of the object.

    Definition Classes
    AnyRef → Any
  123. implicit def tuple2ToZippedOps[T1, T2](x: (T1, T2)): Ops[T1, T2]

  124. implicit def tuple3ToZippedOps[T1, T2, T3](x: (T1, T2, T3)): Ops[T1, T2, T3]

  125. implicit def unaugmentString(x: StringOps): String

  126. implicit def unitArrayOps(xs: Array[Unit]): ArrayOps[Unit]

  127. implicit def unwrapString(ws: WrappedString): String

    Definition Classes
    LowPriorityImplicits
  128. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  131. implicit def wrapBooleanArray(xs: Array[Boolean]): WrappedArray[Boolean]

    Definition Classes
    LowPriorityImplicits
  132. implicit def wrapByteArray(xs: Array[Byte]): WrappedArray[Byte]

    Definition Classes
    LowPriorityImplicits
  133. implicit def wrapCharArray(xs: Array[Char]): WrappedArray[Char]

    Definition Classes
    LowPriorityImplicits
  134. implicit def wrapDoubleArray(xs: Array[Double]): WrappedArray[Double]

    Definition Classes
    LowPriorityImplicits
  135. implicit def wrapFloatArray(xs: Array[Float]): WrappedArray[Float]

    Definition Classes
    LowPriorityImplicits
  136. implicit def wrapIntArray(xs: Array[Int]): WrappedArray[Int]

    Definition Classes
    LowPriorityImplicits
  137. implicit def wrapLongArray(xs: Array[Long]): WrappedArray[Long]

    Definition Classes
    LowPriorityImplicits
  138. implicit def wrapRefArray[T <: AnyRef](xs: Array[T]): WrappedArray[T]

    Definition Classes
    LowPriorityImplicits
  139. implicit def wrapShortArray(xs: Array[Short]): WrappedArray[Short]

    Definition Classes
    LowPriorityImplicits
  140. implicit def wrapString(s: String): WrappedString

    Definition Classes
    LowPriorityImplicits
  141. implicit def wrapUnitArray(xs: Array[Unit]): WrappedArray[Unit]

    Definition Classes
    LowPriorityImplicits

Deprecated Value Members

  1. def byte2double(x: Byte): Double

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use a method in an AnyVal's companion object

  2. def byte2float(x: Byte): Float

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use a method in an AnyVal's companion object

  3. def byte2int(x: Byte): Int

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use a method in an AnyVal's companion object

  4. def byte2long(x: Byte): Long

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use a method in an AnyVal's companion object

  5. def byte2short(x: Byte): Short

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use a method in an AnyVal's companion object

  6. def char2double(x: Char): Double

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use a method in an AnyVal's companion object

  7. def char2float(x: Char): Float

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use a method in an AnyVal's companion object

  8. def char2int(x: Char): Int

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use a method in an AnyVal's companion object

  9. def char2long(x: Char): Long

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use a method in an AnyVal's companion object

  10. def error(message: String): Nothing

    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0) Use sys.error(message) instead

  11. def exit(status: Int): Nothing

    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0) Use sys.exit(status) instead

  12. def exit(): Nothing

    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0) Use sys.exit() instead

  13. def float2double(x: Float): Double

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use a method in an AnyVal's companion object

  14. def format(text: String, xs: Any*): String

    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0) Use formatString.format(args: _*) or arg.formatted(formatString) instead

  15. def int2double(x: Int): Double

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use a method in an AnyVal's companion object

  16. def int2float(x: Int): Float

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use a method in an AnyVal's companion object

  17. def int2long(x: Int): Long

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use a method in an AnyVal's companion object

  18. def long2double(x: Long): Double

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use a method in an AnyVal's companion object

  19. def long2float(x: Long): Float

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use a method in an AnyVal's companion object

  20. def short2double(x: Short): Double

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use a method in an AnyVal's companion object

  21. def short2float(x: Short): Float

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use a method in an AnyVal's companion object

  22. def short2int(x: Short): Int

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use a method in an AnyVal's companion object

  23. def short2long(x: Short): Long

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use a method in an AnyVal's companion object

  24. def stringCanBuildFrom: CanBuildFrom[String, Char, String]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use StringCanBuildFrom

Inherited from LowPriorityImplicits

Inherited from AnyRef

Inherited from Any