Digit

sealed abstract
class Digit extends Product with Serializable

An algebraic data type representing the digits 0 - 9

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object _0
object _1
object _2
object _3
object _4
object _5
object _6
object _7
object _8
object _9

Value members

Concrete methods

final
def toChar: Char
final
def toLong: Long

Inherited methods

def canEqual(that: Any): Boolean
Inherited from
Equals
def productArity: Int
Inherited from
Product
def productElement(n: Int): Any
Inherited from
Product
def productElementName(n: Int): String
Inherited from
Product
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def productPrefix: String
Inherited from
Product

Abstract fields

val toInt: Int