Triple

data class Triple<A, B, C>(val first: A, val second: B, val third: C)

A data class representing a triple of values.

Parameters

A

the type of the first value

B

the type of the second value

C

the type of the third value

Constructors

Link copied to clipboard
constructor(first: A, second: B, third: C)

Properties

Link copied to clipboard
val first: A

the first value

Link copied to clipboard
val second: B

the second value

Link copied to clipboard
val third: C

the third value

Functions

Link copied to clipboard
infix fun <D> to(other: D): Quadruple<A, B, C, D>

Extension function to create a Quadruple from a Triple and an additional value.