-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_Collections_KeyEqualityComparer_2
Andrew Koryavchenko edited this page Jun 17, 2018
·
8 revisions
An implementation of the IEqualityComparer(T) interface for compare values by comparing their extracted key values.
System.Object
CodeJam.Collections.KeyEqualityComparer(T, TKey)
Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public sealed class KeyEqualityComparer<T, TKey> : IEqualityComparer<T>
VB
Public NotInheritable Class KeyEqualityComparer(Of T, TKey)
Implements IEqualityComparer(Of T)
F#
[<SealedAttribute>]
type KeyEqualityComparer<'T, 'TKey> =
class
interface IEqualityComparer<'T>
end
- T
- [Missing documentation for "T:CodeJam.Collections.KeyEqualityComparer
2"\]</dd><dt>TKey</dt><dd>\[Missing <typeparam name="TKey"/> documentation for "T:CodeJam.Collections.KeyEqualityComparer
2"]
Name | Description | |
---|---|---|
KeyEqualityComparer(T, TKey)(Func(T, TKey)) | Initializes a new instance of the KeyEqualityComparer(T, TKey). | |
KeyEqualityComparer(T, TKey)(Func(T, TKey), IEqualityComparer(TKey)) | Initializes a new instance of the KeyEqualityComparer(T, TKey). |
Name | Description | |
---|---|---|
Comparer | Gets the equality comparer to use to compare the keys. | |
KeySelector | Gets the function to extract the key for each element. |
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Equals(T, T) | Determines whether the specified objects are equal. | |
GetHashCode() | Serves as the default hash function. (Inherited from Object.) | |
GetHashCode(T) | Returns a hash code for the specified object. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |