Class ArrayComparer<T>
An equality comparer that compares arrays based on content.
Inheritance
ArrayComparer<T>
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public class ArrayComparer<T> : IEqualityComparer<T[]>
Type Parameters
Constructors
ArrayComparer()
Declaration
ArrayComparer(IEqualityComparer<T>)
Declaration
public ArrayComparer(IEqualityComparer<T> elementComparer)
Parameters
Methods
Equals(T[], T[])
Declaration
public bool Equals(T[] x, T[] y)
Parameters
Type |
Name |
Description |
T[] |
x |
|
T[] |
y |
|
Returns
GetHashCode(T[])
Declaration
public int GetHashCode(T[] array)
Parameters
Type |
Name |
Description |
T[] |
array |
|
Returns
Implements