Class/Object

com.twitter.finatra.conversions.option

RichOption

Related Docs: object RichOption | package option

Permalink

implicit final class RichOption[A] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichOption
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichOption(self: Option[A])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def format(fmtStr: String): String

    Permalink

    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.

  6. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  8. val self: Option[A]

    Permalink
  9. def toFutureOrElse(orElse: Future[A]): Future[A]

    Permalink
  10. def toFutureOrElse(orElse: A): Future[A]

    Permalink
  11. def toFutureOrFail(throwable: Throwable): Future[A]

    Permalink
  12. def toString(): String

    Permalink
    Definition Classes
    Any
  13. def toTryOrFail(throwable: Throwable): Try[A]

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped