v2026.2.1
All Bundles

Quintet

Quintet class that supports 5 values

quintet := Collection.Tuple.Quintet->New("test", 1, 2.5, 'a', true)<String, IntRef, FloatRef, CharRef, BoolRef>;
quintet->GetFirst()->PrintLine();
quintet->GetSecond()->PrintLine();
quintet->GetFifth()->PrintLine();

Operations

GetFifth

Returns the fifth value

method : public : GetFifth() ~ E

Return

TypeDescription
Efifth value

GetFirst

Returns the first value

method : public : GetFirst() ~ A

Return

TypeDescription
Afirst value

GetFourth

Returns the fourth value

method : public : GetFourth() ~ D

Return

TypeDescription
Dfourth 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, d:D, e:E)

Parameters

NameTypeDescription
aAfirst parameter
bBsecond parameter
cCthird parameter
dDfourth parameter
eEfifth parameter

ToString

Formats tuple into a string

method : public : ToString() ~ String

Return

TypeDescription
Stringstring representation