Table of Contents

Class ArrayEqualityComparer<T>

Namespace
Lime
Assembly
Lime.dll
public class ArrayEqualityComparer<T> : IEqualityComparer<T[]>

Type Parameters

T
Inheritance
ArrayEqualityComparer<T>
Implements
Inherited Members

Constructors

ArrayEqualityComparer(IEqualityComparer<T>)

public ArrayEqualityComparer(IEqualityComparer<T> elementComparer)

Parameters

elementComparer IEqualityComparer<T>

Fields

Default

public static readonly ArrayEqualityComparer<T> Default

Field Value

ArrayEqualityComparer<T>

Methods

Equals(T[], T[])

Determines whether the specified objects are equal.

public bool Equals(T[] x, T[] y)

Parameters

x T[]

The first object of type T to compare.

y T[]

The second object of type T to compare.

Returns

bool

true if the specified objects are equal; otherwise, false.

GetHashCode(T[])

Returns a hash code for the specified object.

public int GetHashCode(T[] x)

Parameters

x T[]

Returns

int

A hash code for the specified object.

Exceptions

ArgumentNullException

The type of obj is a reference type and obj is null.