Cloneable
A trait for cloneable collections.
- Type parameters:
- C
Type of the collection, covariant and with reference types as upperbound.
- Source:
- Cloneable.scala
class ArrayDeque[A]
class Queue[A]
class Stack[A]
class LongMap[V]
class SystemProperties
class PriorityQueue[A]
trait Buffer[A]
class AbstractBuffer[A]
class ArrayBuffer[A]
class ListBuffer[A]
class UnrolledBuffer[T]
trait IndexedBuffer[A]
class ArraySeq[T]
class ofBoolean
class ofByte
class ofChar
class ofDouble
class ofFloat
class ofInt
class ofLong
class ofRef[T]
class ofShort
class ofUnit
trait IndexedSeq[T]
class StringBuilder
trait Seq[A]
class AbstractSeq[A]
class AnyAccumulator[A]
class DoubleAccumulator
class IntAccumulator
class LongAccumulator
class HashSet[A]
class LinkedHashSet[A]
trait Set[A]
class AbstractSet[A]
class BitSet
class TreeSet[A]
trait SortedSet[A]
Value members
Concrete methods
Create a copy of the receiver object.
Create a copy of the receiver object.
The default implementation of the clone
method is platform dependent.
- Returns:
a copy of the receiver object.
- Note:
not specified by SLS as a member of AnyRef
- Definition Classes
- Source:
- Cloneable.scala