Pair

constructor(first: A, second: B)(source)

Creates a pair containing the supplied values.

Parameters

first

first component value.

second

second component value.

Type Parameters

A

type of the first component.

B

type of the second component.