Package org.apache.pekko.util
Class OptionConverters.RichOption<A>
- java.lang.Object
-
- scala.AnyVal
-
- org.apache.pekko.util.OptionConverters.RichOption<A>
-
- Enclosing class:
- OptionConverters
public static final class OptionConverters.RichOption<A> extends scala.AnyVal
-
-
Constructor Summary
Constructors Constructor Description RichOption(scala.Option<A> o)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object x$1)
int
hashCode()
scala.Option<A>
o()
java.util.Optional<A>
toJava()
<O> O
toJavaPrimitive(scala.jdk.OptionShape<A,O> shape)
-
-
-
Constructor Detail
-
RichOption
public RichOption(scala.Option<A> o)
-
-
Method Detail
-
o
public scala.Option<A> o()
-
toJava
public java.util.Optional<A> toJava()
-
toJavaPrimitive
public <O> O toJavaPrimitive(scala.jdk.OptionShape<A,O> shape)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Overrides:
equals
in classjava.lang.Object
-
-