Packages

t

scalaz

IsomorphismOptional

trait IsomorphismOptional[F[_], G[_]] extends Optional[F]

Source
Isomorphism.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IsomorphismOptional
  2. Optional
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. implicit abstract def G: Optional[G]
  2. abstract def iso: Isomorphism.<~>[F, G]

Concrete 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. def ?[A, X](fa: F[A])(some: ⇒ X, none: ⇒ X): X

    Returns some if this context is defined, otherwise none.

    Returns some if this context is defined, otherwise none.

    Definition Classes
    Optional
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def getOrElse[A](fa: F[A])(default: ⇒ A): A

    Returns the value within the context if defined or else the value of default.

    Returns the value within the context if defined or else the value of default.

    Definition Classes
    Optional
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def isDefined[A](fa: F[A]): Boolean

    Returns true if a value is defined within the context.

    Returns true if a value is defined within the context.

    Definition Classes
    Optional
  14. final def isEmpty[A](fa: F[A]): Boolean

    Returns true if no value is defined within the context.

    Returns true if no value is defined within the context.

    Definition Classes
    Optional
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def nonEmpty[A](fa: F[A]): Boolean

    Returns true if a value is defined within the context.

    Returns true if a value is defined within the context. This is an alias for isDefined.

    Definition Classes
    Optional
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. val optionalSyntax: OptionalSyntax[F]
    Definition Classes
    Optional
  21. def orElse[A](fa: F[A])(alternative: ⇒ F[A]): F[A]

    Returns given context if it is defined or else the value of the alternative.

    Returns given context if it is defined or else the value of the alternative.

    Definition Classes
    Optional
  22. def pextract[B, A](fa: F[A]): \/[F[B], A]

    If fa has an a, return it; otherwise it must be universally quantified.

    If fa has an a, return it; otherwise it must be universally quantified.

    Definition Classes
    IsomorphismOptionalOptional
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toMaybe[A](fa: F[A]): Maybe[A]

    Returns this context converted to the Maybe context.

    Returns this context converted to the Maybe context.

    Definition Classes
    Optional
  25. def toOption[A](fa: F[A]): Option[A]

    Returns this context converted to the Option context.

    Returns this context converted to the Option context.

    Definition Classes
    Optional
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Optional[F]

Inherited from AnyRef

Inherited from Any

Ungrouped