Cloneable (original) (raw)

scala.collection.mutable.Cloneable

A trait for cloneable collections.

Type parameters

C

Type of the collection, covariant and with reference types as upperbound.

Attributes

Source

Cloneable.scala

Graph

Supertypes

Known subtypes

trait MapOps[K, V, CC, C]

trait Map[K, V]

trait Map[K, V]

Show all

Members list

Create a copy of the receiver object.

Create a copy of the receiver object.

The default implementation of the clone method is platform dependent.

Attributes

Returns

a copy of the receiver object.

Note

not specified by SLS as a member of AnyRef

Definition Classes

Source

Cloneable.scala

In this article