Index​Comparer Index​Comparer Class

Definition

public class IndexComparer : IEqualityComparer<IIndex>, IComparer<IIndex>Public Class IndexComparer
    Implements IEqualityComparer(Of IIndex), IComparer(Of IIndex)
Inheritance
System.ObjectSystem.Object
IndexComparerIndexComparer
Implements
System.Collections.Generic.IEqualityComparer<IIndex>System.Collections.Generic.IEqualityComparer(Of IIndex) System.Collections.Generic.IComparer<IIndex>System.Collections.Generic.IComparer(Of IIndex)

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Constructors

IndexComparer(Boolean) IndexComparer(Boolean)

public IndexComparer(bool compareAnnotations = true)Public Sub New(compareAnnotations As Boolean = True)
Parameters
compareAnnotations
System.Boolean System.Boolean

Methods

Compare(IIndex, IIndex) Compare(IIndex, IIndex)

public int Compare(IIndex x, IIndex y)Public Function Compare(x As IIndex, y As IIndex) As Integer
Parameters
Returns
System.Int32 System.Int32

Equals(IIndex, IIndex) Equals(IIndex, IIndex)

public bool Equals(IIndex x, IIndex y)Public Function Equals(x As IIndex, y As IIndex) As Boolean
Parameters
Returns
System.Boolean System.Boolean

GetHashCode(IIndex) GetHashCode(IIndex)

public int GetHashCode(IIndex obj)Public Function GetHashCode(obj As IIndex) As Integer
Parameters
Returns
System.Int32 System.Int32