Class Int32EqualityComparer
Inheritance
System.Object
System.Collections.Generic.EqualityComparer<System.Int32>
Int32EqualityComparer
Implements
System.Collections.Generic.IEqualityComparer<System.Int32>
System.Collections.IEqualityComparer
Inherited Members
System.Collections.Generic.EqualityComparer<System.Int32>.System.Collections.IEqualityComparer.Equals(System.Object, System.Object)
System.Collections.Generic.EqualityComparer<System.Int32>.System.Collections.IEqualityComparer.GetHashCode(System.Object)
System.Collections.Generic.EqualityComparer<System.Int32>.Default
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Cosmos.Core_Plugs.System.Collections.Generic
Assembly: Cosmos.Core_Plugs.dll
Syntax
public class Int32EqualityComparer : EqualityComparer<int>, IEqualityComparer<int>, IEqualityComparer
Methods
| Improve this Doc View SourceEquals(Int32, Int32)
Declaration
public override bool Equals(int x, int y)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | x | |
System.Int32 | y |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Collections.Generic.EqualityComparer<System.Int32>.Equals(System.Int32, System.Int32)
|
Improve this Doc
View Source
GetHashCode(Int32)
Declaration
public override int GetHashCode(int val)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | val |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Collections.Generic.EqualityComparer<System.Int32>.GetHashCode(System.Int32)
Implements
System.Collections.Generic.IEqualityComparer<T>
System.Collections.IEqualityComparer