akka.japi
This class represents optional values. Instances of Option are either instances of case class Some or it is case object None.
Option
Some
None
Returns a if this is some(a) or defaultValue if this is none.
a
some(a)
defaultValue
none
(Since version ) see corresponding Javadoc for more information.
This class represents optional values. Instances of
Option
are either instances of case classSome
or it is case objectNone
.