|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectakka.japi.Option<A>
akka.japi.Option.Some<A>
public static final class Option.Some<A>
Class Some[A] represents existing values of type
A.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class akka.japi.Option |
|---|
Option.Some<A>, Option.Some$ |
| Constructor Summary | |
|---|---|
Option.Some(A v)
|
|
| Method Summary | ||
|---|---|---|
scala.Some<A> |
asScala()
|
|
A |
get()
|
|
|
getOrElse(B defaultValue)
Returns a if this is some(a) or defaultValue if
this is none. |
|
boolean |
isEmpty()
|
|
A |
v()
|
|
| Methods inherited from class akka.japi.Option |
|---|
fromScalaOption, isDefined, iterator, java2ScalaOption, none, option, scala2JavaOption, some |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface scala.Product |
|---|
productArity, productElement, productIterator, productPrefix |
| Methods inherited from interface scala.Equals |
|---|
canEqual, equals |
| Constructor Detail |
|---|
public Option.Some(A v)
| Method Detail |
|---|
public A v()
public A get()
get in class Option<A>public <B> B getOrElse(B defaultValue)
Optiona if this is some(a) or defaultValue if
this is none.
getOrElse in class Option<A>public boolean isEmpty()
isEmpty in class Option<A>public scala.Some<A> asScala()
asScala in class Option<A>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||