Packages

c

scala

FallbackArrayBuilding

class FallbackArrayBuilding extends AnyRef

Contains a fallback builder for arrays when the element type does not have a class tag. In that case a generic array is built.

Source
Array.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FallbackArrayBuilding
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FallbackArrayBuilding()

Value Members

  1. implicit def fallbackCanBuildFrom[T](implicit m: DummyImplicit): CanBuildFrom[Array[_], T, ArraySeq[T]]

    A builder factory that generates a generic array.

    A builder factory that generates a generic array. Called instead of Array.newBuilder if the element type of an array does not have a class tag. Note that fallbackBuilder factory needs an implicit parameter (otherwise it would not be dominated in implicit search by Array.canBuildFrom). We make sure that implicit search is always successful.