final
case class
PartialEquivalence[A, B, +E1, +E2](to: (A) ⇒ Either[E1, B], from: (B) ⇒ Either[E2, A]) extends Product with Serializable
Instance Constructors
-
new
PartialEquivalence(to: (A) ⇒ Either[E1, B], from: (B) ⇒ Either[E2, A])
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
-
-
final
def
asInstanceOf[T0]: T0
-
def
canonicalLeft(a: A): Option[A]
-
def
canonicalLeftOrError[E](a: A)(implicit ev1: <:<[E1, E], ev2: <:<[E2, E]): Either[E, A]
-
def
canonicalRight(b: B): Option[B]
-
def
canonicalRightOrError[E](b: B)(implicit ev1: <:<[E1, E], ev2: <:<[E2, E]): Either[E, B]
-
def
clone(): AnyRef
-
-
-
def
finalize(): Unit
-
-
val
from: (B) ⇒ Either[E2, A]
-
final
def
getClass(): Class[_]
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
val
to: (A) ⇒ Either[E1, B]
-
def
toEquivalence(implicit ev1: <:<[E1, Nothing], ev2: <:<[E2, Nothing]): Equivalence[A, B]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit