This class represents an ordered 2-Tuple that is consistent with equals() and hashCode().

Namespace: yWorks.yFiles.Algorithms.Util
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public sealed class Tuple
Visual Basic
Public NotInheritable Class Tuple

Remarks

This class represents an ordered 2-Tuple that is consistent with equals() and hashCode(). Therefore it can safely be used within HashTables, HashSets, HashMaps and the like. Using the static create methods, it is possible to build 3,4,5-Tuples recursively out of multiple 2-Tuples.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.Algorithms.Util..::..Tuple

See Also