UOption

gapt.utils.UOption
final class UOption[+T](t: T) extends AnyVal

Unboxed option type similar to Option[T].

Note that USome(UNone()) == UNone() and USome(null) == UNone().

Attributes

Source
uoption.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def flatMap[S](f: T => UOption[S]): UOption[S]

Attributes

Source
uoption.scala
def get: T

Attributes

Source
uoption.scala
def getOrElse[S >: T](t: => S): S

Attributes

Source
uoption.scala

Attributes

Source
uoption.scala

Attributes

Source
uoption.scala
def map[S](f: T => S): UOption[S]

Attributes

Source
uoption.scala
def toOption: Option[T]

Attributes

Source
uoption.scala
def unsafeGet: T

Attributes

Source
uoption.scala