implicit final class RichOption[A] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RichOption
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def format(fmtStr: String): String
Creates a string using the passed in "format string" and the defined Option as its argument (or empty string if None).
Creates a string using the passed in "format string" and the defined Option as its argument (or empty string if None).
- fmtStr
the string to format
- returns
a formatted string using the Option value if defined, otherwise an empty-string.
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val self: Option[A]
- def toFutureOrElse(orElse: => Future[A])(implicit dummy: DummyImplicit): Future[A]
- def toFutureOrElse(orElse: => A): Future[A]
- def toFutureOrFail(throwable: => Throwable): Future[A]
- def toString(): String
- Definition Classes
- Any
- def toTryOrFail(throwable: => Throwable): Try[A]