Enum

scala.reflect.Enum
trait Enum extends Product, Serializable

A base trait of all Scala enum definitions

Attributes

Source
Enum.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Any

Members list

Value members

Abstract methods

def ordinal: Int

A number uniquely identifying a case of an enum

A number uniquely identifying a case of an enum

Attributes

Source
Enum.scala

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product