commonMain.tuples.Tuples.kt Maven / Gradle / Ivy
package org.openrndr.utils.tuples
data class Quadruple(
val first: A,
val second: B,
val third: C,
val fourth: D
) {
override fun toString(): String {
return "($first, $second, $third, $fourth)"
}
}
data class Quintuple(
val first: A,
val second: B,
val third: C,
val fourth: D,
val fifth: E,
) {
override fun toString(): String {
return "($first, $second, $third, $fourth, $fifth)"
}
}
data class Sextuple(
val first: A,
val second: B,
val third: C,
val fourth: D,
val fifth: E,
val sixth: F,
) {
override fun toString(): String {
return "($first, $second, $third, $fourth, $fifth, $sixth)"
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy