Quadruple

data class Quadruple<A, B, C, D>(val first: A, val second: B, val third: C, val fourth: D)

A data class representing a quadruple of values.

Parameters

A

the type of the first value

B

the type of the second value

C

the type of the third value

D

the type of the fourth value

Constructors

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

Properties

Link copied to clipboard
val first: A

the first value

Link copied to clipboard
val fourth: D

the fourth 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 <E> to(other: E): Quintuple<A, B, C, D, E>

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