blob: 28320fea4df8c7135b05bb978d2ac300dc170ab4 (
plain) (
tree)
|
|
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2006-2009, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
// $Id: Vector.scala 15437 2008-06-25 16:22:45Z stepancheg $
package scalax.collection.mutable
trait Vector[A] extends collection.Vector[A] with generic.mutable.VectorTemplate[Vector, A]
object Vector extends generic.nonvariant.SequenceFactory[Vector] {
/** The empty iterable */
def apply[A](args: A*): Vector[A] = new ArrayBuffer[A] ++ args.asInstanceOf[Iterable[A]] // !@!
}
|