IndexCollectionEquals(Object) Method

Determines whether the specified Object is equal to the current Object.

Definition

Namespace: Novacta.Analytics
Assembly: Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.1.0+428f3840cfab98dda567bb0ed350b302533e273a
C#
public override bool Equals(
	Object obj
)

Parameters

obj  Object
The object to compare with the current object.

Return Value

Boolean
true if the specified object is equal to the current object; otherwise, false.

Remarks

IndexCollection instances are quasi-lexicographically ordered. This means that instances are firstly ordered by their Count, and then, within collections having the same length, by lexicographic order.

This also means that when tested for equality, IndexCollection instances are considered equal if and only if they have the same Count and, for each index position, indexes corresponding to such position are equal, too.

See Also