Ingredient

sealed abstract class Ingredient(val value: String, val ordinal: Int) extends Product with Serializable
Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object Cheese.type
object Mushroom.type
object Salad.type
object Tomato.type

Value members

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

Concrete fields

val ordinal: Int
val value: String