public static class OptionConverters.RichOptionForJava8<A>
extends scala.AnyVal
Constructor and Description |
---|
RichOptionForJava8(scala.Option<A> underlying) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<A> |
asJava()
Create a `java.util.Optional` version of this `Option` (not specialized)
|
<That> That |
asPrimitive(OptionConverters.SpecializerOfOptions<A,That> specOp)
Create a specialized primitive `java.util.Optional` type, if an appropriate one exists
|
scala.Option<A> |
underlying() |
public RichOptionForJava8(scala.Option<A> underlying)
public scala.Option<A> underlying()
public java.util.Optional<A> asJava()
public <That> That asPrimitive(OptionConverters.SpecializerOfOptions<A,That> specOp)