class Equalizer[L] extends AnyRef
Class used via an implicit conversion to enable any two objects to be compared with
=== and !== with a Boolean result and no enforced type constraint between
two object types. For example:
assert(a === b) assert(c !== d)
You can also check numeric values against another with a tolerance. Here are some examples:
assert(a === (2.0 +- 0.1)) assert(c !== (2.0 +- 0.1))
- Alphabetic
 - By Inheritance
 
- Equalizer
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - All
 
Instance Constructors
- 
      
      
      
        
      
    
      
        
        new
      
      
        Equalizer(leftSide: L)
      
      
      
- leftSide
 An object to convert to
Equalizer, which represents the value on the left side of a===or!==invocation.
 
Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        !==(literalNull: Null): Boolean
      
      
      
Determines whether an object reference is non-
null.Determines whether an object reference is non-
null.- literalNull
 a
nullvalue against which to compare the value passed to the constructor asleftSidefor inequality- returns
 true if the value passed to the constructor as
leftSideis non-null.
 - 
      
      
      
        
      
    
      
        
        def
      
      
        !==(spread: Spread[L]): Boolean
      
      
      
Determine whether a numeric object is outside the passed
Spread, returning aBoolean.Determine whether a numeric object is outside the passed
Spread, returning aBoolean.- spread
 the
Spreadagainst which to compare the value passed to the constructor asleftSide- returns
 true if the value passed to the constructor as
leftSideis not within theSpreadpassed to this method.
 - 
      
      
      
        
      
    
      
        
        def
      
      
        !==(rightSide: Any)(implicit equality: Equality[L]): Boolean
      
      
      
Compare two objects for inequality, returning a
Boolean, using theEqualitytype class passed asequality.Compare two objects for inequality, returning a
Boolean, using theEqualitytype class passed asequality.- rightSide
 the object to compare for inequality with
leftSide, passed to the constructor- equality
 an implicit
Equalitytype class that defines a way of calculating equality for objects of typeL- returns
 true if the
leftSideandrightSideobjects are not equal according to the passedEqualitytype class.
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        ===(literalNull: Null): Boolean
      
      
      
Determine whether an object reference is
null.Determine whether an object reference is
null.- literalNull
 a
nullvalue against which to compare the value passed to the constructor asleftSidefor equality- returns
 true if the value passed to the constructor as
leftSideisnull.
 - 
      
      
      
        
      
    
      
        
        def
      
      
        ===(spread: Spread[L]): Boolean
      
      
      
Determine whether a numeric object is within the passed
Spread, returning aBoolean.Determine whether a numeric object is within the passed
Spread, returning aBoolean.- spread
 the
Spreadagainst which to compare the value passed to the constructor asleftSide- returns
 true if the value passed to the constructor as
leftSideis within theSpreadpassed to this method.
 - 
      
      
      
        
      
    
      
        
        def
      
      
        ===(rightSide: Any)(implicit equality: Equality[L]): Boolean
      
      
      
Compare two objects for equality, returning a
Boolean, using theEqualitytype class passed asequality.Compare two objects for equality, returning a
Boolean, using theEqualitytype class passed asequality.- rightSide
 the object to compare for equality with
leftSide, passed to the constructor- equality
 an implicit
Equalitytype class that defines a way of calculating equality for objects of typeL- returns
 true if the
leftSideandrightSideobjects are equal according to the passedEqualitytype class.
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      
- Attributes
 - protected[java.lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @native() @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      
- Attributes
 - protected[java.lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( classOf[java.lang.Throwable] )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      
- Definition Classes
 - Any
 
 -  val leftSide: L
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @native() @throws( ... )