scalamachine.core

ResOps

trait ResOps[A] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ResOps
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def res: Res[A]

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def filter(predicate: (A) ⇒ Boolean): Res[A]

    returns a new Res containing the value if the value exists and applying the predicate to the value returns true.

    returns a new Res containing the value if the value exists and applying the predicate to the value returns true. Otherwise an EmptyRes is returned

  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def flatMap[B](f: (A) ⇒ Res[B]): Res[B]

    Returns a new Res containing result of applying f to value contained in this Res, if the value exists

    Returns a new Res containing result of applying f to value contained in this Res, if the value exists

    B

    - type of value contained by new Res

    f

    - function applied if Res is nonempty

  13. def flatten[B](implicit ev: <:<[A, Res[B]]): Res[B]

    Turns a Res[Res[A]] into a Res[A]

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

    Definition Classes
    AnyRef → Any
  15. def getOrElse[B >: A](default: ⇒ B): B

    returns the value contained in the Res if it is nonempty or the default otherwise

    returns the value contained in the Res if it is nonempty or the default otherwise

    default

    - value to return is Res is empty

  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def map[B](f: (A) ⇒ B): Res[B]

    Returns a new Res containing result of apply f to the Res's value, if it exists

    Returns a new Res containing result of apply f to the Res's value, if it exists

    B

    - type of value contained by new Res

    f

    - function applied if Res is nonempty

  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. def orElse[B >: A](other: ⇒ Res[B]): Res[B]

    Returns new Res containing value of this res if it exists, otherwise the other Res is returned

    Returns new Res containing value of this res if it exists, otherwise the other Res is returned

    other

    - the Res to return if the other is empty

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toOption: Option[A]

    Returns Some containing the value, if it exists.

    Returns Some containing the value, if it exists. Otherwise, None is returned

  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. def |(default: ⇒ A): A

Inherited from AnyRef

Inherited from Any

Ungrouped