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, ElemDecl, DEFAULT, ParameterEntityDecl, AttListDecl, ParsedEntityDecl, NotationDecl, ProcInstr, Box, Node, TopIter, LabelledRHS, ConsRHS, DocCons, DocNest, AppliedType, MethodType, PrefixedType, TypeBounds, SingleType, Assign, TypeApply, ValDef, Template, Select, Block, Target, Function, Apply, Field, TypeField, Method, 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 inherited from scala.Product
arity , element, productPrefix
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 -