Scala Library
|
|
scala/Equals.scala
]
trait
Equals
extends
AnyRefMethod Summary | |
abstract def
|
canEqual
(that : Any) : Boolean
A method that should be called from every well-designed equals method
that is open to be overridden in a subclass. See Programming in Scala,
Chapter 28 for discussion and design.
|
abstract def
|
equals
(that : Any) : Boolean
The equality method defined in `AnyRef`.
|
Methods inherited from AnyRef | |
getClass, hashCode, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
Scala Library
|
|