Packages

case class Good[+A](value: A) extends EMon[A] with Product with Serializable

The Good sub class of EMon[+A]. This corresponds, but is not functionally equivalent to an Either[List[String], +A] based Right[List[String], +A].

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

Instance Constructors

  1. new Good(value: A)

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 biMap[L2, R2](fLeft: (StrList) => L2, fRight: (A) => R2): Either[L2, R2]
    Definition Classes
    GoodEMon
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def eitherFlatMap[D](f: (A) => Either[StrList, D]): Either[StrList, D]
    Definition Classes
    GoodEMon
  8. def eitherMap[D](f: (A) => D): Either[StrList, D]
    Definition Classes
    GoodEMon
  9. def elseTry[A1 >: A](otherValue: EMon[A1]): EMon[A]

    Use this EMon if good else use other EMmn

    Use this EMon if good else use other EMmn

    Definition Classes
    GoodEMon
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def errs: StrList
    Definition Classes
    GoodEMon
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. def flatMap[B](f: (A) => EMon[B]): EMon[B]
    Definition Classes
    GoodEMon
  14. def fold[B](fBad: (StrList) => B, fGood: (A) => B): B

    Fold the EMon of type A into a type of B.

    Fold the EMon of type A into a type of B.

    Definition Classes
    EMon
    Annotations
    @inline()
  15. def forEither(fBad: (StrList) => Unit, fGood: (A) => Unit): Unit

    This is just a Unit returning map, but is preferred because the method is explicit that it is called for effects not a value.

    This is just a Unit returning map, but is preferred because the method is explicit that it is called for effects not a value.

    Definition Classes
    EMon
  16. def foreach(f: (A) => Unit): Unit

    Will perform action if Good.

    Will perform action if Good. Does nothing if Bad.

    Definition Classes
    GoodEMon
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getElse[A1 >: A](elseValue: => A1): A1
    Definition Classes
    GoodEMon
  19. def isBad: Boolean
    Definition Classes
    GoodEMon
  20. def isGood: Boolean
    Definition Classes
    GoodEMon
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def map[B](f: (A) => B): EMon[B]
    Definition Classes
    GoodEMon
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toEither: Either[StrList, A]
    Definition Classes
    GoodEMon
  29. val value: A
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from EMon[A]

Inherited from AnyRef

Inherited from Any

Ungrouped