blob: acf9a166868d5c0f5f044116edf5f81918802b39 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2003-2009, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
// $Id: CloneableCollection.scala 16893 2009-01-13 13:09:22Z cunei $
package scalax.collection.generic
/** A trait for cloneable collections.
*/
@cloneable
trait Cloneable[A <: AnyRef] {
override def clone(): A = super.clone().asInstanceOf[A]
}
|