createTuple

public abstract Tuple createTuple(@NotNull() Array<@NotNull() Comparable<? extends Object>> values)

Factory method to create a tuple from the current type. Tuples should contain only immutable objects or objects that won't be modified while part of a tuple.

Return

Tuple with the given values

Parameters

values

values of the tuple

Throws

if the wrong # of arguments or incompatible tuple values are provided