Class

s_mach.codetools.macros.Result

Success

Related Doc: package Result

Permalink

case class Success[+A](value: A, zomIssue: List[Issue]) extends Result[A] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Result[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Success
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Result
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Success(value: A, zomIssue: List[Issue])

    Permalink

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  8. def flatMap[B](f: (A) ⇒ Result[B]): Result[B]

    Permalink

    returns

    If Result is successful, a new Result with the value returned from applying the value to f . If failure, no change

    Definition Classes
    SuccessResult
  9. def fold[X, AA >: A](isSuccess: (Success[AA]) ⇒ X, isFailure: (Failure) ⇒ X): X

    Permalink

    returns

    If successful, the result of applying this to isSuccess. If failure, the result fo applying this to isFailure

    Definition Classes
    SuccessResult
  10. def foreach[U](f: (A) ⇒ U): Unit

    Permalink

    returns

    If Result is successful, the value is applied to f

    Definition Classes
    SuccessResult
  11. def get: A

    Permalink

    returns

    the value of the computation

    Definition Classes
    SuccessResult
    Exceptions thrown

    NoSuchElementException if the result is a failure

  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def isFailure: Boolean

    Permalink

    returns

    TRUE if the result is a failure

    Definition Classes
    SuccessResult
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def isSuccess: Boolean

    Permalink

    returns

    TRUE if the result is successful

    Definition Classes
    SuccessResult
  16. def map[B](f: (A) ⇒ B): Result[B]

    Permalink

    returns

    If Result is successful, a new Result with the value returned from applying the value to f. If failure, no change

    Definition Classes
    SuccessResult
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def prepend(_zomIssue: List[Issue]): Success[A]

    Permalink

    returns

    a new Result with the supplied list of issues prepended to the list of issues

    Definition Classes
    SuccessResult
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toOption: Some[A]

    Permalink

    returns

    If successful, Some(value) otherwise None

    Definition Classes
    SuccessResult
  23. val value: A

    Permalink
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. val zomIssue: List[Issue]

    Permalink

    returns

    zero or more issues raised during the computation

    Definition Classes
    SuccessResult

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Result[A]

Inherited from AnyRef

Inherited from Any

Ungrouped