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