v2025.6.2
All Bundles

Triplet

Tuple class that supports 3 values

Operations

GetFirst

Returns the first value

method : public : GetFirst() ~ A

Return

TypeDescription
Afirst value

GetSecond

Returns the second value

method : public : GetSecond() ~ B

Return

TypeDescription
Bsecond value

GetThird

Returns the third value

method : public : GetThird() ~ C

Return

TypeDescription
Cthird value

New

Constructor.

New(a:A, b:B, c:C)

Parameters

NameTypeDescription
aAfirst parameter
bBsecond parameter
cCthird parameter

ToString

Formats tuple into a string

method : public : ToString() ~ String

Return

TypeDescription
Stringstring representation