Element 1 of this Tuple2
Element 2 of this Tuple2
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.
Creates a String representation of this object.
A tuple of 2 elements; the canonical representation of a scala.Product2.
Element 1 of this Tuple2
Element 2 of this Tuple2