object TripleEqualsSupport
- Alphabetic
- By Inheritance
- TripleEqualsSupport
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final class AToBEquivalenceConstraint[A, B] extends CanEqual[A, B]
An implementation of
Constraint
for two typesA
andB
that requires anEquality[B]
and a conversion function fromA
toB
. - final class BToAEquivalenceConstraint[A, B] extends CanEqual[A, B]
An implementation of
Constraint
for two typesA
andB
that requires anEquality[A]
and a conversion function fromB
toA
. - final class EqualityConstraint[A, B] extends CanEqual[A, B]
An implementation of
Constraint
for two typesA
andB
that requires anEquality[A]
to which itsareEqual
method can delegate an equality comparison. - final case class Spread[T](pivot: T, tolerance: T)(implicit evidence$1: Numeric[T]) extends Product with Serializable
Class representing an spread (i.e., range) between two numbers.
Class representing an spread (i.e., range) between two numbers.
The spread is expressed in terms of a
Numeric
pivot and tolerance. The spread extends frompivot - tolerance
topivot + tolerance
, inclusive.- pivot
the pivot number at the center of the spread
- tolerance
the tolerance that determines the high and low point of the spread
- final case class TripleEqualsInvocation[T](right: T, expectingEqual: Boolean) extends Product with Serializable
Facilitates the “
should ===
” and “should !==
” syntax of ScalaTest's matchers DSL.Facilitates the “
should ===
” and “should !==
” syntax of ScalaTest's matchers DSL.Instances of this class are created and returned by the
===
and!==
methods of traitTripleEqualsSupport
.- right
the right-hand side value for an equality assertion
- expectingEqual
true
if the result of a===
invocation;false
if the result of a!==
invocation.
- final case class TripleEqualsInvocationOnSpread[T](spread: Spread[T], expectingEqual: Boolean) extends Product with Serializable
Facilitates the “
should === (x += y)
” and “should !== (x += y)
” syntax of ScalaTest's matchers DSL.Facilitates the “
should === (x += y)
” and “should !== (x += y)
” syntax of ScalaTest's matchers DSL.Instances of this class are created and returned by the
===
and!==
methods of traitTripleEqualsSupport
.- spread
the
Spread[T]
against which to compare the left-hand value- expectingEqual
true
if the result of a===
invocation;false
if the result of a!==
invocation.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated