Pair
Tuple class that supports 2 values
pair := Collection.Tuple.Pair->New("name", 42)<String, IntRef>;
pair->GetFirst()->PrintLine();
pair->GetSecond()->PrintLine();Operations
GetSecond
Returns the second value
method : public : GetSecond() ~ BReturn
| Type | Description |
|---|---|
| B | second value |
ToString
Formats tuple into a string
method : public : ToString() ~ StringReturn
| Type | Description |
|---|---|
| String | string representation |