Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public data class Triple<out A, out B, out C>(
- public val first: A,
- public val second: B,
- public val third: C
- ) : Serializable {
- public override fun toString(): String = "($first, $second, $third)"
- }
- public fun <T> Triple<T, T, T>.toList(): List<T> = listOf(first, second, third)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement