public static final class Option.Some<A> extends Option<A> implements scala.Product, scala.Serializable
Some[A]
represents existing values of type
A
.Option.Some<A>, Option.Some$
Modifier and Type | Method and Description |
---|---|
scala.Some<A> |
asScala() |
A |
get() |
<B> B |
getOrElse(B defaultValue)
Returns
a if this is some(a) or defaultValue if
this is none . |
boolean |
isEmpty() |
A |
v() |
forEach, fromScalaOption, isDefined, iterator, java2ScalaOption, none, option, scala2JavaOption, some, spliterator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait