All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.reflect.Enum.scala Maven / Gradle / Ivy

There is a newer version: 3.6.3-RC1-bin-20241119-cc4a324-NIGHTLY
Show newest version
package scala.reflect

/** A base trait of all Scala enum definitions */
@annotation.transparentTrait trait Enum extends Any, Product, Serializable:

  /** A number uniquely identifying a case of an enum */
  def ordinal: Int




© 2015 - 2024 Weber Informatics LLC | Privacy Policy