Class ListComparer<T>
An equality comparer for IList that requires elements at the same index to match
Inheritance
ListComparer<T>
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public class ListComparer<T> : IEqualityComparer<IList<T>>
Type Parameters
Properties
Default
Declaration
public static ListComparer<T> Default { get; }
Property Value
Methods
EqualLists(IList<T>, IList<T>)
Declaration
public static bool EqualLists(IList<T> x, IList<T> y)
Parameters
Returns
Equals(IList<T>, IList<T>)
Declaration
public bool Equals(IList<T> x, IList<T> y)
Parameters
Returns
GetHashCode(IList<T>)
Declaration
public static int GetHashCode(IList<T> list)
Parameters
Type |
Name |
Description |
IList<T> |
list |
|
Returns
Explicit Interface Implementations
IEqualityComparer<IList<T>>.GetHashCode(IList<T>)
Declaration
int IEqualityComparer<IList<T>>.GetHashCode(IList<T> list)
Parameters
Type |
Name |
Description |
IList<T> |
list |
|
Returns
Implements