Preferred

case class Preferred[P](get: P) extends Priority[P, Nothing]
trait Serializable
trait Product
trait Equals
trait Priority[P, Nothing]
class Object
trait Matchable
class Any

Value members

Inherited methods

def bimap[P2, F2](f1: P => P2)(f2: Nothing => F2): Priority[P2, F2]
Inherited from
Priority
def fold[B](f1: P => B)(f2: Nothing => B): B
Inherited from
Priority
def getFallback: Option[Nothing]
Inherited from
Priority
def getPreferred: Option[P]
Inherited from
Priority
def isFallback: Boolean
Inherited from
Priority
def isPreferred: Boolean
Inherited from
Priority
def join[U >: P & Nothing]: U
Inherited from
Priority
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def toEither: Either[P, Nothing]
Inherited from
Priority