Class UIntEqualityComparer

An equality comparer for type uint, also known as System.UInt32.

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

Implements

System.Collections.Generic.IEqualityComparer<System.UInt32>

Bases

object

Property overview

Default

Method overview

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

Property details

S UIntEqualityComparer DefaultAccess: Read-Only

Value:

Method details

F bool Equals(System.UInt32 item1, System.UInt32 item2) Determine whether two unsigned integers are equal
Returns:True if equal
Parameters:
item1:first unsigned integer
item2:second unsigned integer
F int GetHashCode(System.UInt32 item) Get the hash code of this unsigned integer
Returns:The same bit pattern as a signed integer
Parameters:
item:The integer