scala

class FallbackArrayBuilding

[source: scala/FallbackArrayBuilding.scala]

class FallbackArrayBuilding
extends AnyRef
A class containing a fall back builder for arrays where the element type does not have a class manifest. In that case a generic array is built.
Direct Known Subclasses:
Array

Method Summary
implicit def fallbackCanBuildFrom [T](implicit m : DummyImplicit) : CanBuildFrom[Array[Any], T, GenericArray[T]]
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 manifest. Note that fallbackBuilder fcatory needs an implicit parameter (otherwise it would not be dominated in implicit search by Array.canBuildFrom). We make sure that that implicit search is always succesfull.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
implicit def fallbackCanBuildFrom[T](implicit m : DummyImplicit) : CanBuildFrom[Array[Any], T, GenericArray[T]]
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 manifest. Note that fallbackBuilder fcatory needs an implicit parameter (otherwise it would not be dominated in implicit search by Array.canBuildFrom). We make sure that that implicit search is always succesfull.