EmptyTuple

object EmptyTuple : Product, Serializable

Just as in Scala3, we provide the EmptyTuple. It is the result of dropping the last item from a Tuple1 or when calling tupleOf() for instance.

Properties

Link copied to clipboard
val Product.size: Int

The size of this product.

Functions

Link copied to clipboard
fun <T1> EmptyTuple.appendedBy(other: T1): Tuple1<T1>

This file provides functions to easily extend Scala Tuples.

Link copied to clipboard
fun Product.asIterable(): Iterable<Any?>

Converts this product to an Any? iterable.

Link copied to clipboard
open override fun canEqual(that: Any?): Boolean
Link copied to clipboard
infix fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> EmptyTuple.concat(    other: Tuple10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>): Tuple10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
infix fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> EmptyTuple.concat(    other: Tuple11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>): Tuple11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
infix fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> EmptyTuple.concat(    other: Tuple12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>): Tuple12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>
infix fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> EmptyTuple.concat(    other: Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>): Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>
infix fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> EmptyTuple.concat(    other: Tuple14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>): Tuple14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>
infix fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> EmptyTuple.concat(    other: Tuple15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>): Tuple15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>
infix fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> EmptyTuple.concat(    other: Tuple16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>): Tuple16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>
infix fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17> EmptyTuple.concat(    other: Tuple17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>): Tuple17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>
infix fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18> EmptyTuple.concat(    other: Tuple18<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>): Tuple18<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>
infix fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19> EmptyTuple.concat(    other: Tuple19<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>): Tuple19<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>
infix fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20> EmptyTuple.concat(    other: Tuple20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20>): Tuple20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20>
infix fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21> EmptyTuple.concat(    other: Tuple21<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21>): Tuple21<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21>
infix fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22> EmptyTuple.concat(    other: Tuple22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22>): Tuple22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22>
infix fun <T1, T2> EmptyTuple.concat(other: Tuple2<T1, T2>): Tuple2<T1, T2>
infix fun <T1, T2, T3> EmptyTuple.concat(other: Tuple3<T1, T2, T3>): Tuple3<T1, T2, T3>
infix fun <T1, T2, T3, T4> EmptyTuple.concat(other: Tuple4<T1, T2, T3, T4>): Tuple4<T1, T2, T3, T4>
infix fun <T1, T2, T3, T4, T5> EmptyTuple.concat(other: Tuple5<T1, T2, T3, T4, T5>): Tuple5<T1, T2, T3, T4, T5>
infix fun <T1, T2, T3, T4, T5, T6> EmptyTuple.concat(other: Tuple6<T1, T2, T3, T4, T5, T6>): Tuple6<T1, T2, T3, T4, T5, T6>
infix fun <T1, T2, T3, T4, T5, T6, T7> EmptyTuple.concat(other: Tuple7<T1, T2, T3, T4, T5, T6, T7>): Tuple7<T1, T2, T3, T4, T5, T6, T7>
infix fun <T1, T2, T3, T4, T5, T6, T7, T8> EmptyTuple.concat(other: Tuple8<T1, T2, T3, T4, T5, T6, T7, T8>): Tuple8<T1, T2, T3, T4, T5, T6, T7, T8>
infix fun <T1, T2, T3, T4, T5, T6, T7, T8, T9> EmptyTuple.concat(    other: Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, T9>): Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, T9>

infix fun <T1> EmptyTuple.concat(other: Tuple1<T1>): Tuple1<T1>

This file provides functions to easily merge two separate tuples into one.

Link copied to clipboard
operator fun Product.contains(item: Any?): Boolean

Tests whether this iterator contains a given value as an element. Note: may not terminate for infinite iterators.

Link copied to clipboard
Link copied to clipboard
operator fun Product.get(n: Int): Any?

The n'th element of this product, 0-based. In other words, for a product A(x,,1,,, ..., x,,k,,), returns x,,(n+1),, where 0 <= n < k.

operator fun Product.get(indexRange: IntRange): List<Any?>

The range of n'th elements of this product, 0-based. In other words, for a product A(x,,1,,, ..., x,,k,,), returns x,,(n+1),, where 0 <= n < k.

Link copied to clipboard
inline fun <T> Product.getAs(n: Int): T

The n'th element of this product, 0-based. In other words, for a product A(x,,1,,, ..., x,,k,,), returns x,,(n+1),, where 0 <= n < k. The result is cast to the given type T.

inline fun <T> Product.getAs(indexRange: IntRange): List<T>

The range of n'th elements of this product, 0-based. In other words, for a product A(x,,1,,, ..., x,,k,,), returns x,,(n+1),, where 0 <= n < k. The results are cast to the given type T.

Link copied to clipboard
inline fun <T> Product.getAsOrNull(n: Int): T?

The n'th element of this product, 0-based. In other words, for a product A(x,,1,,, ..., x,,k,,), returns x,,(n+1),, where 0 <= n < k. The result is cast to the given type T.

inline fun <T> Product.getAsOrNull(indexRange: IntRange): List<T?>

The range of n'th elements of this product, 0-based. In other words, for a product A(x,,1,,, ..., x,,k,,), returns x,,(n+1),, where 0 <= n < k. The results are cast to the given type T.

Link copied to clipboard
fun Product.getOrNull(n: Int): Any?

The n'th element of this product, 0-based. In other words, for a product A(x,,1,,, ..., x,,k,,), returns x,,(n+1),, where 0 <= n < k.

fun Product.getOrNull(indexRange: IntRange): List<Any?>

The range of n'th elements of this product, 0-based. In other words, for a product A(x,,1,,, ..., x,,k,,), returns x,,(n+1),, where 0 <= n < k.

Link copied to clipboard
operator fun Product.iterator(): Iterator<Any?>

An iterator over all the elements of this product.

Link copied to clipboard
operator fun <T1> EmptyTuple.plus(other: T1): Tuple1<T1>
operator fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> EmptyTuple.plus(    other: Tuple10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>): Tuple10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
operator fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> EmptyTuple.plus(    other: Tuple11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>): Tuple11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
operator fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> EmptyTuple.plus(    other: Tuple12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>): Tuple12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>
operator fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> EmptyTuple.plus(    other: Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>): Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>
operator fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> EmptyTuple.plus(    other: Tuple14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>): Tuple14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>
operator fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> EmptyTuple.plus(    other: Tuple15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>): Tuple15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>
operator fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> EmptyTuple.plus(    other: Tuple16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>): Tuple16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>
operator fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17> EmptyTuple.plus(    other: Tuple17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>): Tuple17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>
operator fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18> EmptyTuple.plus(    other: Tuple18<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>): Tuple18<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>
operator fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19> EmptyTuple.plus(    other: Tuple19<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>): Tuple19<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>
operator fun <T1> EmptyTuple.plus(other: Tuple1<T1>): Tuple1<T1>
operator fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20> EmptyTuple.plus(    other: Tuple20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20>): Tuple20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20>
operator fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21> EmptyTuple.plus(    other: Tuple21<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21>): Tuple21<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21>
operator fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22> EmptyTuple.plus(    other: Tuple22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22>): Tuple22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22>
operator fun <T1, T2> EmptyTuple.plus(other: Tuple2<T1, T2>): Tuple2<T1, T2>
operator fun <T1, T2, T3> EmptyTuple.plus(other: Tuple3<T1, T2, T3>): Tuple3<T1, T2, T3>
operator fun <T1, T2, T3, T4> EmptyTuple.plus(other: Tuple4<T1, T2, T3, T4>): Tuple4<T1, T2, T3, T4>
operator fun <T1, T2, T3, T4, T5> EmptyTuple.plus(other: Tuple5<T1, T2, T3, T4, T5>): Tuple5<T1, T2, T3, T4, T5>
operator fun <T1, T2, T3, T4, T5, T6> EmptyTuple.plus(other: Tuple6<T1, T2, T3, T4, T5, T6>): Tuple6<T1, T2, T3, T4, T5, T6>
operator fun <T1, T2, T3, T4, T5, T6, T7> EmptyTuple.plus(other: Tuple7<T1, T2, T3, T4, T5, T6, T7>): Tuple7<T1, T2, T3, T4, T5, T6, T7>
operator fun <T1, T2, T3, T4, T5, T6, T7, T8> EmptyTuple.plus(other: Tuple8<T1, T2, T3, T4, T5, T6, T7, T8>): Tuple8<T1, T2, T3, T4, T5, T6, T7, T8>
operator fun <T1, T2, T3, T4, T5, T6, T7, T8, T9> EmptyTuple.plus(    other: Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, T9>): Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, T9>
Link copied to clipboard
fun <T1> EmptyTuple.prependedBy(other: T1): Tuple1<T1>
Link copied to clipboard
open override fun productArity(): Int
Link copied to clipboard
open override fun productElement(n: Int): Nothing
Link copied to clipboard
Link copied to clipboard
open fun productElementNames(): Iterator<String>
Link copied to clipboard
open fun productIterator(): Iterator<Any>
Link copied to clipboard
open fun productPrefix(): String
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
infix fun EmptyTuple.zip(other: Tuple10<*, *, *, *, *, *, *, *, *, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple11<*, *, *, *, *, *, *, *, *, *, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple12<*, *, *, *, *, *, *, *, *, *, *, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple13<*, *, *, *, *, *, *, *, *, *, *, *, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple14<*, *, *, *, *, *, *, *, *, *, *, *, *, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple15<*, *, *, *, *, *, *, *, *, *, *, *, *, *, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple16<*, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple17<*, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple18<*, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple19<*, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple1<*>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple20<*, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple21<*, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple22<*, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple2<*, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple3<*, *, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple4<*, *, *, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple5<*, *, *, *, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple6<*, *, *, *, *, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple7<*, *, *, *, *, *, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple8<*, *, *, *, *, *, *, *>): EmptyTuple
infix fun EmptyTuple.zip(other: Tuple9<*, *, *, *, *, *, *, *, *>): EmptyTuple