object OptionUtil

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OptionUtil
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def emptyStringAsNone[S <: LengthLimitedString](str: S): Option[S]
  7. def emptyStringAsNone(str: String): Option[String]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def mergeEqual[A](left: Option[A], right: Option[A]): Option[Option[A]]

    Return None iff both left and right are defined and not equal.

    Return None iff both left and right are defined and not equal.

    Otherwise, return

    • Some(left), if only left is defined
    • Some(right), if right is defined
  14. def mergeWith[A](left: Option[A], right: Option[A])(f: (A, A) => A): Option[A]
  15. def mergeWithO[A](left: Option[A], right: Option[A])(f: (A, A) => Option[A]): Option[Option[A]]
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def noneAsEmptyString(strO: Option[String]): String
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. def zeroAsNone(n: Int): Option[Int]
  26. def zipWith[A, B, C](left: Option[A], right: Option[B])(f: (A, B) => C): Option[C]
  27. def zipWithF[F[_], A, B, C](left: Option[A], right: => F[Option[B]])(f: (A, B) => F[C])(implicit arg0: Monad[F], arg1: Parallel[F]): F[Option[C]]

    If left is non empty, zip its content with the lazily evaluated result of right (if right returns a non empty result as well), and apply f to the pair (l, r)

  28. def zipWithFDefaultValue[F[_], A, B, C](left: Option[A], right: => F[Option[B]], empty: => C)(f: (A, B) => F[C])(implicit arg0: Monad[F], arg1: Parallel[F]): F[C]

    zipWithF but returns a default value if either of left or right are empty

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped