Opt

msgpack4z.Opt
See theOpt companion object
final case class Opt[A <: AnyRef] extends AnyVal

Attributes

Companion
object
Source
Opt.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def exists(f: A => Boolean): Boolean

Attributes

Source
Opt.scala
def filter(f: A => Boolean): Opt[A]

Attributes

Source
Opt.scala
def flatMap[B <: AnyRef](f: A => Opt[B]): Opt[B]

Attributes

Source
Opt.scala
def forall(f: A => Boolean): Boolean

Attributes

Source
Opt.scala
def isEmpty: Boolean

Attributes

Source
Opt.scala
def map[B <: AnyRef](f: A => B): Opt[B]

Attributes

Source
Opt.scala
def nonEmpty: Boolean

Attributes

Source
Opt.scala
def orNull: A

Attributes

Source
Opt.scala
def toList: List[A]

Attributes

Source
Opt.scala
def toOption: Option[A]

Attributes

Source
Opt.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product