summaryrefslogtreecommitdiff
path: root/src/library/scalax/collection/mutable/Vector.scala
blob: 28320fea4df8c7135b05bb978d2ac300dc170ab4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*                     __                                               *\
**     ________ ___   / /  ___     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]] // !@!

}