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