in scala
trait Product2

abstract trait Product2 [T1, T2]
extends java.lang.Object
with scala.Product
with scala.ScalaObject
Product2 is a cartesian product of 2 components
Direct Known Subclasses:
ElemEnd, FExp, Attrib, Child, DescOrSelf, Equals, PublicID, ParameterEntityDecl, NotationDecl, AttListDecl, ParsedEntityDecl, ElemDecl, DEFAULT, ProcInstr, Box, Node, TopIter, LabelledRHS, ConsRHS, DocNest, DocCons, PrefixedType, SingleType, AppliedType, TypeBounds, MethodType, Template, Select, Target, TypeApply, ValDef, Function, Apply, Assign, Block, Method, Field, TypeField, Tuple2, ::, TypeCast, FunctionCall, SetClause, Constructor, Insert, IncompatibleSchema, Node, Exit

Def Summary
abstract def _1 : T1
projection of this product
abstract def _2 : T2
projection of this product
override def arity : scala.Int
The arity of this product.
override def element (n: scala.Int) : scala.Any
Returns the n-th projection of this product if 0


Def Detail
abstract def _1 : T1
projection of this product

abstract def _2 : T2
projection of this product

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

override def element (n: scala.Int): scala.Any
Returns the n-th projection of this product if 0
Parameters:
n - number of the projection to be returned
Throws:
IndexOutOfBoundsException -