scala.collection.generic

trait Cloneable

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

@cloneable

trait Cloneable[+A <: AnyRef]
extends AnyRef
A trait for cloneable collections.
Direct Known Subclasses:
BufferTemplate, MutableMapTemplate, MutableMapTemplateBase, MutableSetTemplate, PriorityQueue, Queue, 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.