Opt

final case class Opt[A <: AnyRef] extends AnyVal
Companion
object
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def exists(f: A => Boolean): Boolean
def filter(f: A => Boolean): Opt[A]
def flatMap[B <: AnyRef](f: A => Opt[B]): Opt[B]
def forall(f: A => Boolean): Boolean
def isEmpty: Boolean
def map[B <: AnyRef](f: A => B): Opt[B]
def nonEmpty: Boolean
def orNull: A
def toList: List[A]
def toOption: Option[A]

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product