Class 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()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • 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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Overrides:
        equals in class java.lang.Object