Class LongEqualityComparer

An equality comparer for type long, also known as System.Int64.

This class is a singleton and the instance can be accessed via the static Default property

Implements

System.Collections.Generic.IEqualityComparer<System.Int64>

Bases

object

Property overview

Default

Method overview

Equals(System.Int64 item1, System.Int64 item2) ,
Equals(object obj), Inherited from object ,
Finalize(), Inherited from object ,
GetHashCode(System.Int64 item) ,
GetHashCode(), Inherited from object ,
GetType(), Inherited from object ,
MemberwiseClone(), Inherited from object ,
ToString(), Inherited from object

Property details

S LongEqualityComparer DefaultAccess: Read-Only

Value:

Method details

F bool Equals(System.Int64 item1, System.Int64 item2) Determine whether two long integers are equal
Returns:True if equal
Parameters:
item1:first long integer
item2:second long integer
F int GetHashCode(System.Int64 item) Get the hash code of this long integer
Returns:The hash code
Parameters:
item:The long integer