Class

sutils.std.ImplicitTryOps

AddSideEffectOpToTry

Related Doc: package ImplicitTryOps

Permalink

implicit final class AddSideEffectOpToTry[T] extends AnyVal

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

Instance Constructors

  1. new AddSideEffectOpToTry(x: Try[T])

    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 effect(ifFailure: (Throwable) ⇒ Unit, ifSuccess: (T) ⇒ Unit): Try[T]

    Permalink

    Evaluates one of the two statements, depending on the case of the Try.

    Evaluates one of the two statements, depending on the case of the Try. Performs fold(ifFailure, ifSuccess) and then evaluates to the wrapped Try.

  6. def effectOnFailure(ifFailure: (Throwable) ⇒ Unit): Try[T]

    Permalink

    Evaluates the parameter when the Try is Failure(_).

  7. def effectOnSuccess(ifSuccess: (T) ⇒ Unit): Try[T]

    Permalink

    Evaluates the parameter on the inner value when the Try is Success(_).

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

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

    Permalink
    Definition Classes
    Any
  10. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped