Dotty Documentation

0.15.0-bin-SNAPSHOT

class GenericClass
extends Object

The part of Generic instances that is common for all instances of a class.

[-] Constructors

GenericClass ( runtimeClass: Class [ Nothing <: Any ] , labelsStr: String )

[-] Members

[+] val label : Array [ Array [ String ] ]

Case and element labels as a two-dimensional array. Each row of the array contains a case label, followed by the labels of the elements of that case.

[+] private val labelsStr : String
[+] val runtimeClass : Class [ Nothing <: Any ]
[+] private def initLabels ( start: Int , cur: Int , elems: ArrayBuffer [ String ] , cases: ArrayBuffer [ Array [ String ] ] ) : Array [ Array [ String ] ]
[+] def mirror ( ordinal: Int , product: Product ) : Mirror

A mirror of case with ordinal number ordinal and elements as given by Product

[+] def mirror ( ordinal: Int ) : Mirror

A mirror of a case with no elements

[+] def mirror ( ordinal: Int , elems: Array [ AnyRef ] ) : Mirror

A mirror with elements given as an array

[+] def mirror ( ordinal: Int , numElems: Int ) : Mirror

A mirror with an initial empty array of numElems elements, to be filled in.