Scala Enum

object WeekDayEnum extends Enumeration {
  type WeekDayEnum = Value
  val Mon, Tue, Wed, Thu, Fri, Sat, Sun = Value
}
Content Protection by DMCA.com
Please Share