IndexComparer IndexComparer 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)

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

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetHashCode(IIndex) GetHashCode(IIndex)

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

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object