Tuples provide a type-safe way to specify multiple parameters.
| Modifier and Type | Class and Description |
|---|---|
| public class | Tuple2<
The type of the first non-null value held by this tuple T1, The type of the second non-null value held by this tuple T2>A tuple that holds two non-null values. |
| public class | Tuple3<
The type of the first non-null value held by this tuple T1, The type of the second non-null value held by this tuple T2, The type of the third non-null value held by this tuple T3>A tuple that holds three non-null values. |
| public class | Tuple4<
The type of the first non-null value held by this tuple T1, The type of the second non-null value held by this tuple T2, The type of the third non-null value held by this tuple T3, The type of the fourth non-null value held by this tuple T4>A tuple that holds four non-null values |
| public class | Tuple5<
The type of the first non-null value held by this tuple T1, The type of the second non-null value held by this tuple T2, The type of the third non-null value held by this tuple T3, The type of the fourth non-null value held by this tuple T4, The type of the fifth non-null value held by this tuple T5>A tuple that holds five non-null values |
| public class | Tuple6<
The type of the first value held by this tuple T1, The type of the second value held by this tuple T2, The type of the third value held by this tuple T3, The type of the fourth value held by this tuple T4, The type of the fifth value held by this tuple T5, The type of the sixth value held by this tuple T6>A tuple that holds six values |
| public class | Tuple7<
The type of the first non-null value held by this tuple T1, The type of the second non-null value held by this tuple T2, The type of the third non-null value held by this tuple T3, The type of the fourth non-null value held by this tuple T4, The type of the fifth non-null value held by this tuple T5, The type of the sixth non-null value held by this tuple T6, The type of the seventh non-null value held by this tuple T7>A tuple that holds seven non-null values |
| public class | Tuple8<
The type of the first value held by this tuple T1, The type of the second value held by this tuple T2, The type of the third value held by this tuple T3, The type of the fourth value held by this tuple T4, The type of the fifth value held by this tuple T5, The type of the sixth value held by this tuple T6, The type of the seventh value held by this tuple T7, The type of the eighth value held by this tuple T8>A tuple that holds eight values |
| public abstract class | Tuples
A Tuples is an immutable |