This class represents an ordered 2-Tuple that is consistent with
equals() and hashCode().
Namespace: yWorks.yFiles.Algorithms.UtilAssembly: yWorks.yFilesWPF.Algorithms (in yWorks.yFilesWPF.Algorithms.dll) Version: 2.2.0.2 (2.2.0.2)
Syntax
| C# |
|---|
[SerializableAttribute] public sealed class Tuple |
| Visual Basic |
|---|
<SerializableAttribute> _ 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
yWorks.yFiles.Algorithms.Util..::..Tuple