Package akka.util

Class OptionVal$

  • public class OptionVal$
    extends java.lang.Object
    • Field Detail

      • MODULE$

        public static final OptionVal$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • OptionVal$

        public OptionVal$()
    • Method Detail

      • apply

        public <A> OptionVal<A> apply​(A x)
      • None

        public OptionVal<scala.runtime.Null$> None()
        Represents non-existent values, null values.
      • isEmpty$extension

        public final <A> boolean isEmpty$extension​(OptionVal<A> $this)
        Returns true if the option is OptionVal.None, false otherwise.
      • isDefined$extension

        public final <A> boolean isDefined$extension​(OptionVal<A> $this)
        Returns true if the option is OptionVal.None, false otherwise.
      • getOrElse$extension

        public final <B,​A> B getOrElse$extension​(OptionVal<A> $this,
                                                       B default_)
        Returns the option's value if the option is nonempty, otherwise return default.
      • toOption$extension

        public final <A> scala.Option<A> toOption$extension​(OptionVal<A> $this)
        Convert to scala.Option
      • contains$extension

        public final <B,​A> boolean contains$extension​(OptionVal<A> $this,
                                                            B it)
      • orNull$extension

        public final <A1,​A> A1 orNull$extension​(OptionVal<A> $this,
                                                      scala.$less$colon$less<scala.runtime.Null$,​A1> ev)
        Returns the option's value if it is nonempty, or null if it is empty.
      • get$extension

        public final <A> A get$extension​(OptionVal<A> $this)
        Returns the option's value.
        java.util.NoSuchElementException - if the option is empty.
      • toString$extension

        public final <A> java.lang.String toString$extension​(OptionVal<A> $this)
      • hashCode$extension

        public final <A> int hashCode$extension​(OptionVal<A> $this)
      • equals$extension

        public final <A> boolean equals$extension​(OptionVal<A> $this,
                                                  java.lang.Object x$1)