All Bundles

Pair<A,B>

Tuple class that supports 2 values

Operations

New

Constructor.

New(a:A, b:B)
Parameters
NameTypeDescription
aAfirst parameter
bBsecond parameter

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

ToString

Formats tuple into a string

method : public : ToString() ~ String
Return
TypeDescription
Stringstring representation