in scala
trait Product1

abstract trait Product1 [T1]
extends java.lang.Object
with scala.Product
with scala.ScalaObject
Product1 is a cartesian product of 1 components
Direct Known Subclasses:
Tuple1

Def Summary
abstract def _1 : T1
projection of this product
override def arity : scala.Int
The arity of this product.
override def element (n: scala.Int) : T1
Returns the n-th projection of this product if 0<=n<arity, otherwise null.
Def inherited from scala.Product
arity , element, productPrefix
Def Detail
abstract def _1 : T1
projection of this product

override def arity : scala.Int
The arity of this product.
Returns:
1

override def element (n: scala.Int): T1
Returns the n-th projection of this product if 0<=n<arity, otherwise null.
Parameters:
n - number of the projection to be returned
Returns:
same as _(n+1)
Throws:
IndexOutOfBoundsException -