Interface Equatable<T:Equatable<T>>
Interface for objects which can be compared for equality. As Equatable
provides a default
implementation of !=
, only the =
operator is strictly required.
- Source Code:
- View Source
Inherited Fields:
Instance Method Summary
-- equals operator --
= (other :
):T Bit - Returns
true
if these objects are equal. -- not equal operator --
!= (other :
):T Bit - Returns
true
if these objects are not equal.
Instance Methods
Returns true
if these objects are equal.
- Parameters:
-
- value of typeother T