Equals
trait Equals
An interface containing operations for equality.
The only method not already present in class AnyRef
is canEqual
.
- Source:
- Equals.scala
class Any
trait Product
object None
class (T1)
trait Product19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19]
trait Product20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20]
trait Product21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21]
class (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)
trait Product22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22]
class (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22)
trait Tuple
object EmptyTuple
trait NonEmptyTuple
trait Enum
trait EnumValue
class TupleXXL
class SystemProperties
class AbstractSeq[A]
class AbstractSeq[A]
class ofBoolean
class ofByte
class ofChar
class ofDouble
class ofFloat
class ofInt
class ofLong
class ofShort
class ofUnit
object Nil
class NumericRange[T]
class Range
class Exclusive
class Inclusive
object Empty
class WrappedString
class AbstractSeq[A]
class AbstractBuffer[A]
class ArrayBuffer[A]
class ArrayDeque[A]
class ListBuffer[A]
class UnrolledBuffer[T]
class ofBoolean
class ofByte
class ofChar
class ofDouble
class ofFloat
class ofInt
class ofLong
class ofShort
class ofUnit
class StringBuilder
trait IndexedSeq[A]
trait IndexedSeq[A]
trait IndexedSeq[T]
trait IndexedBuffer[A]
class AnyAccumulator[A]
class DoubleAccumulator
class IntAccumulator
class LongAccumulator
class AbstractSet[A]
class AbstractSet[A]
class ValueSet
class BitSet
class BitSet1
class BitSet2
class BitSetN
class ImmutableKeySet
class ImmutableKeySortedSet
class AbstractSet[A]
class BitSet
class LinkedHashSet[A]
trait BitSet
class AnyValManifest[T]
Value members
Abstract methods
A method that should be called from every well-designed equals method that is open to be overridden in a subclass.
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.
- Value parameters:
- that
the value being probed for possible equality
- Returns:
true if this instance can possibly equal
that
, otherwise false- Source:
- Equals.scala
The universal equality method defined in AnyRef
.
The universal equality method defined in AnyRef
.
- Source:
- Equals.scala