Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
dev.forkhandles.tuples.plus.kt Maven / Gradle / Ivy
// GENERATED CODE: DO NOT EDIT
package dev.forkhandles.tuples
operator fun T1.plus(that: Tuple2): Tuple3 =
tuple(this, that.val1, that.val2)
operator fun Tuple2.plus(that: T3): Tuple3 =
tuple(this.val1, this.val2, that)
operator fun T1.plus(that: Tuple3): Tuple4 =
tuple(this, that.val1, that.val2, that.val3)
operator fun Tuple2.plus(that: Tuple2): Tuple4 =
tuple(this.val1, this.val2, that.val1, that.val2)
operator fun Tuple3.plus(that: T4): Tuple4 =
tuple(this.val1, this.val2, this.val3, that)
operator fun T1.plus(that: Tuple4): Tuple5 =
tuple(this, that.val1, that.val2, that.val3, that.val4)
operator fun Tuple2.plus(that: Tuple3): Tuple5 =
tuple(this.val1, this.val2, that.val1, that.val2, that.val3)
operator fun Tuple3.plus(that: Tuple2): Tuple5 =
tuple(this.val1, this.val2, this.val3, that.val1, that.val2)
operator fun Tuple4.plus(that: T5): Tuple5 =
tuple(this.val1, this.val2, this.val3, this.val4, that)
operator fun T1.plus(that: Tuple5): Tuple6 =
tuple(this, that.val1, that.val2, that.val3, that.val4, that.val5)
operator fun Tuple2.plus(that: Tuple4): Tuple6 =
tuple(this.val1, this.val2, that.val1, that.val2, that.val3, that.val4)
operator fun Tuple3.plus(that: Tuple3): Tuple6 =
tuple(this.val1, this.val2, this.val3, that.val1, that.val2, that.val3)
operator fun Tuple4.plus(that: Tuple2): Tuple6 =
tuple(this.val1, this.val2, this.val3, this.val4, that.val1, that.val2)
operator fun Tuple5.plus(that: T6): Tuple6 =
tuple(this.val1, this.val2, this.val3, this.val4, this.val5, that)
operator fun T1.plus(that: Tuple6): Tuple7 =
tuple(this, that.val1, that.val2, that.val3, that.val4, that.val5, that.val6)
operator fun Tuple2.plus(that: Tuple5): Tuple7 =
tuple(this.val1, this.val2, that.val1, that.val2, that.val3, that.val4, that.val5)
operator fun Tuple3.plus(that: Tuple4): Tuple7 =
tuple(this.val1, this.val2, this.val3, that.val1, that.val2, that.val3, that.val4)
operator fun Tuple4.plus(that: Tuple3): Tuple7 =
tuple(this.val1, this.val2, this.val3, this.val4, that.val1, that.val2, that.val3)
operator fun Tuple5.plus(that: Tuple2): Tuple7 =
tuple(this.val1, this.val2, this.val3, this.val4, this.val5, that.val1, that.val2)
operator fun Tuple6.plus(that: T7): Tuple7 =
tuple(this.val1, this.val2, this.val3, this.val4, this.val5, this.val6, that)
operator fun T1.plus(that: Tuple7): Tuple8 =
tuple(this, that.val1, that.val2, that.val3, that.val4, that.val5, that.val6, that.val7)
operator fun Tuple2.plus(that: Tuple6): Tuple8 =
tuple(this.val1, this.val2, that.val1, that.val2, that.val3, that.val4, that.val5, that.val6)
operator fun Tuple3.plus(that: Tuple5): Tuple8 =
tuple(this.val1, this.val2, this.val3, that.val1, that.val2, that.val3, that.val4, that.val5)
operator fun Tuple4.plus(that: Tuple4): Tuple8 =
tuple(this.val1, this.val2, this.val3, this.val4, that.val1, that.val2, that.val3, that.val4)
operator fun Tuple5.plus(that: Tuple3): Tuple8 =
tuple(this.val1, this.val2, this.val3, this.val4, this.val5, that.val1, that.val2, that.val3)
operator fun Tuple6.plus(that: Tuple2): Tuple8 =
tuple(this.val1, this.val2, this.val3, this.val4, this.val5, this.val6, that.val1, that.val2)
operator fun Tuple7.plus(that: T8): Tuple8 =
tuple(this.val1, this.val2, this.val3, this.val4, this.val5, this.val6, this.val7, that)