Element 1 of this Tuple2
Element 2 of this Tuple2
Returns string formatted according to given format
string.
Returns string formatted according to given format
string.
Format strings are as for String.format
(@see java.lang.String.format).
The arity of this product.
Returns the n-th projection of this product if 0 < n <= productArity,
otherwise throws an IndexOutOfBoundsException
.
Returns the n-th projection of this product if 0 < n <= productArity,
otherwise throws an IndexOutOfBoundsException
.
number of the projection to be returned
same as ._(n+1)
, for example productElement(0)
is the same as ._1
.
Swaps the elements of this Tuple
.
Swaps the elements of this Tuple
.
a new Tuple where the first element is the second element of this Tuple and the second element is the first element of this Tuple.
A tuple of 2 elements; the canonical representation of a scala.Product2.
Element 1 of this Tuple2
Element 2 of this Tuple2