Provides a base class for implementations of the xtd::collections::generic::iequality_comparer <type_t> generic interface.
Public Static Properties | |
| static auto | default_equality_comparer () -> const equality_comparer & |
| Gets the default equality comparer for the type specified by the generic argument. | |
Public Methods | |
| auto | equals (const type_t &x, const type_t &y) const noexcept -> bool override |
| Determines whether the specified objects are equal. | |
| auto | get_hash_code (const type_t &obj) const noexcept -> xtd::usize override |
| Returns a hash code for the specified object. | |
Additional Inherited Members |
|
inlinestatic |
Gets the default equality comparer for the type specified by the generic argument.
|
inlinenodiscardoverridevirtualnoexcept |
Determines whether the specified objects are equal.
| x | The first object of type type_t to compare. |
| y | The seco,d object of type type_t to compare. |
Implements xtd::collections::generic::iequality_comparer< type_t >.
|
inlinenodiscardoverridevirtualnoexcept |
Returns a hash code for the specified object.
| obj | The xtd::object for which a hash code is to be returned. |
Implements xtd::collections::generic::iequality_comparer< type_t >.