scala.collection.mutable

trait CloneableCollection

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

trait CloneableCollection
extends AnyRef
The J2ME version of the library defined this trait with a clone method to substitute for the lack of Object.clone there
Direct Known Subclasses:
Buffer, Map, PriorityQueue, Queue, Set, Stack

Method Summary
override def clone : AnyRef
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 : AnyRef
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.