Tuple2ΒΆ
Tuple2[A,B] is a simple data structure used to hold a pair of staged values.
Note that this name shadows the unstaged Scala type. For the unstaged type, use the full name scala.Tuple2[A,B]
Infix methods
class Tuple2[A,B] | |
---|---|
def _1: A
Returns the first field in this Tuple2.
|
|
def _2: B
Returns the second field in this Tuple2.
|
|
def toString: String
Returns a printable String from this value.
NOTE: This method is unsynthesizable and can only be used on the CPU or in simulation.
|
|
def βββ-
|
|
def **Related methods**
|
|
def @table-start
|
|
def NoHeading
|
|