Class UInt16EqualityComparer
Inheritance
System.Object
System.Collections.Generic.EqualityComparer<System.UInt16>
UInt16EqualityComparer
Implements
System.Collections.Generic.IEqualityComparer<System.UInt16>
System.Collections.IEqualityComparer
Inherited Members
System.Collections.Generic.EqualityComparer<System.UInt16>.System.Collections.IEqualityComparer.Equals(System.Object, System.Object)
System.Collections.Generic.EqualityComparer<System.UInt16>.System.Collections.IEqualityComparer.GetHashCode(System.Object)
System.Collections.Generic.EqualityComparer<System.UInt16>.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 UInt16EqualityComparer : EqualityComparer<ushort>, IEqualityComparer<ushort>, IEqualityComparer
Methods
| Improve this Doc View SourceEquals(UInt16, UInt16)
Declaration
public override bool Equals(ushort x, ushort y)
Parameters
Type | Name | Description |
---|---|---|
System.UInt16 | x | |
System.UInt16 | y |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Collections.Generic.EqualityComparer<System.UInt16>.Equals(System.UInt16, System.UInt16)
|
Improve this Doc
View Source
GetHashCode(UInt16)
Declaration
public override int GetHashCode(ushort val)
Parameters
Type | Name | Description |
---|---|---|
System.UInt16 | val |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Collections.Generic.EqualityComparer<System.UInt16>.GetHashCode(System.UInt16)
Implements
System.Collections.Generic.IEqualityComparer<T>
System.Collections.IEqualityComparer