scala.collection.mutable

trait Cloneable

[source: scala/collection/mutable/Cloneable.scala]

@cloneable

trait Cloneable[+A <: AnyRef]
extends AnyRef
A trait for cloneable collections.
Since
2.8
Direct Known Subclasses:
ArrayStack, BufferLike, MapLike, MapLikeBase, PriorityQueue, Queue, SetLike, Stack

Method Summary
override def clone : A
This method creates and returns a copy of the receiver object.
Methods inherited from AnyRef
getClass, hashCode, equals, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
override def clone : A
This method creates and returns a copy of the receiver object.

The default implementation of the clone method is platform dependent.

Returns
a copy of the receiver object.