main.net.jqwik.kotlin.api.TupleExtensions.kt Maven / Gradle / Ivy
package net.jqwik.kotlin.api
import net.jqwik.api.Tuple
import org.apiguardian.api.API
@API(status = API.Status.EXPERIMENTAL, since = "1.6.0")
operator fun Tuple.Tuple1.component1(): A = this.get1()
@API(status = API.Status.EXPERIMENTAL, since = "1.6.0")
operator fun Tuple.Tuple2.component2(): B = this.get2()
@API(status = API.Status.EXPERIMENTAL, since = "1.6.0")
operator fun Tuple.Tuple3.component3(): C = this.get3()
@API(status = API.Status.EXPERIMENTAL, since = "1.6.0")
operator fun Tuple.Tuple4.component4(): D = this.get4()
@API(status = API.Status.EXPERIMENTAL, since = "1.6.0")
operator fun Tuple.Tuple5.component5(): E = this.get5()
@API(status = API.Status.EXPERIMENTAL, since = "1.6.0")
operator fun Tuple.Tuple6.component6(): F = this.get6()
@API(status = API.Status.EXPERIMENTAL, since = "1.6.0")
operator fun Tuple.Tuple7.component7(): G = this.get7()
@API(status = API.Status.EXPERIMENTAL, since = "1.6.0")
operator fun Tuple.Tuple8.component8(): H = this.get8()