All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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)





© 2015 - 2024 Weber Informatics LLC | Privacy Policy