tuple

Create a tuple with the specified sole element. The element is not made immutable first, nor is the new tuple.

Return

The new mutable tuple.

Parameters

element1

The value for the first element of the tuple.


Create a tuple with the specified two elements. The elements are not made immutable first, nor is the new tuple.

Return

The new mutable tuple.

Parameters

element1

The value for the first element of the tuple.

element2

The value for the second element of the tuple.


fun tuple(element1: A_BasicObject, element2: A_BasicObject, element3: A_BasicObject): A_Tuple

Create a tuple with the specified three elements. The elements are not made immutable first, nor is the new tuple.

Return

The new mutable tuple.

Parameters

element1

The value for the first element of the tuple.

element2

The value for the second element of the tuple.

element3

The value for the third element of the tuple.


fun tuple(element1: A_BasicObject, element2: A_BasicObject, element3: A_BasicObject, element4: A_BasicObject): A_Tuple

Create a tuple with the specified four elements. The elements are not made immutable first, nor is the new tuple.

Return

The new mutable tuple.

Parameters

element1

The value for the first element of the tuple.

element2

The value for the second element of the tuple.

element3

The value for the third element of the tuple.

element4

The value for the fourth element of the tuple.


fun tuple(element1: A_BasicObject, element2: A_BasicObject, element3: A_BasicObject, element4: A_BasicObject, element5: A_BasicObject): A_Tuple

Create a tuple with the specified five elements. The elements are not made immutable first, nor is the new tuple.

Return

The new mutable tuple.

Parameters

element1

The value for the first element of the tuple.

element2

The value for the second element of the tuple.

element3

The value for the third element of the tuple.

element4

The value for the fourth element of the tuple.

element5

The value for the fifth element of the tuple.