Tag interface to mark comparator or comparable implementations that do not define a total order but only a partial order.

Namespace: yWorks.yFiles.Algorithms.Util
Assembly: yWorks.yFilesWPF.Algorithms (in yWorks.yFilesWPF.Algorithms.dll) Version: 2.2.0.2 (2.2.0.2)

Syntax

C#
public interface IPartialOrder
Visual Basic
Public Interface IPartialOrder

Remarks

Tag interface to mark comparator or comparable implementations that do not define a total order but only a partial order. Implementations tagged with this interface use a special sorting algorithm that is behavior-compatible with the pre-Java-7 sorting algorithms in the sense that it does not throw IllegalArgumentException if the specified comparator used for sorting does not define a total order.

See Also

[!:yWorks.yFiles.Algorithms.Util.Comparators.Sort(object[],System.Collections.IComparer)]
[!:yWorks.yFiles.Algorithms.Util.Comparators.Sort(object[],int,int,System.Collections.IComparer)]