RichOptional

final class RichOptional[A](o: Optional[A]) extends AnyVal

Provides conversions from Java Optional to Scala Option and specialized Optional types

Provides conversions from Java Optional to Scala Option and specialized Optional types

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def toJavaPrimitive[O](shape: OptionShape[A, O]): O

Convert a generic Java Optional to a specialized variant

Convert a generic Java Optional to a specialized variant

Convert a Java Optional to a Scala Option

Convert a Java Optional to a Scala Option

Deprecated methods

@deprecated("Use `toScala` instead", "2.13.0")

Convert a Java Optional to a Scala Option

Convert a Java Optional to a Scala Option

Deprecated