Top Description Fields Constructors Methods
reactor.util.function

public abstract Class Tuples

extends Object
implements Function
Class Inheritance
All Implemented Interfaces
java.util.function.Function
Annotations
@SuppressWarnings:rawtypes
Imports
java.util.Collection, java.util.function.Function

A Tuples is an immutable Collection of objects, each of which can be of an arbitrary type.
Authors
Jon Brisbin, Stephane Maldini

Field Summary

Modifier and TypeField and Description
pack-priv static final Tuples

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Tuple2<T1, T2>
apply(Object
the function argument
o
)

Implements java.util.function.Function.apply.

Applies this function to the given argument.
public static <
The type of the first value.
T1
,
The type of the second value.
T2
>
Function<Object[], Tuple2<T1, T2>>

Returns:

The unchecked conversion function to Tuple2.
fn2
()

A converting function from Object array to Tuple2

public static <
The type of the first value.
T1
,
The type of the second value.
T2
,
The type of the third value.
T3
>
Function<Object[], Tuple3<T1, T2, T3>>

Returns:

The unchecked conversion function to Tuple3.
fn3
()

A converting function from Object array to Tuple3

public static <
The type of the first value.
T1
,
The type of the second value.
T2
,
The type of the third value.
T3
,
The type of the return value.
R
>
Function<Object[], R>

Returns:

The unchecked conversion function to R.
fn3
(final Function<Tuple3<T1, T2, T3>, R>
the function to delegate to
delegate
)

A converting function from Object array to Tuple3 to R.

public static <
The type of the first value.
T1
,
The type of the second value.
T2
,
The type of the third value.
T3
,
The type of the fourth value.
T4
>
Function<Object[], Tuple4<T1, T2, T3, T4>>

Returns:

The unchecked conversion function to Tuple4.
fn4
()

A converting function from Object array to Tuple4

public static <
The type of the first value.
T1
,
The type of the second value.
T2
,
The type of the third value.
T3
,
The type of the fourth value.
T4
,
The type of the return value.
R
>
Function<Object[], R>

Returns:

The unchecked conversion function to R.
fn4
(final Function<Tuple4<T1, T2, T3, T4>, R>
the function to delegate to
delegate
)

A converting function from Object array to Tuple4 to R.

public static <
The type of the first value.
T1
,
The type of the second value.
T2
,
The type of the third value.
T3
,
The type of the fourth value.
T4
,
The type of the fifth value.
T5
>
Function<Object[], Tuple5<T1, T2, T3, T4, T5>>

Returns:

The unchecked conversion function to Tuple5.
fn5
()

A converting function from Object array to Tuple5

public static <
The type of the first value.
T1
,
The type of the second value.
T2
,
The type of the third value.
T3
,
The type of the fourth value.
T4
,
The type of the fifth value.
T5
,
The type of the return value.
R
>
Function<Object[], R>

Returns:

The unchecked conversion function to R.
fn5
(final Function<Tuple5<T1, T2, T3, T4, T5>, R>
the function to delegate to
delegate
)

A converting function from Object array to Tuple4 to R.

public static <
The type of the first value.
T1
,
The type of the second value.
T2
,
The type of the third value.
T3
,
The type of the fourth value.
T4
,
The type of the fifth value.
T5
,
The type of the sixth value.
T6
>
Function<Object[], Tuple6<T1, T2, T3, T4, T5, T6>>

Returns:

The unchecked conversion function to Tuple6.
fn6
()

A converting function from Object array to Tuple6

public static <
The type of the first value.
T1
,
The type of the second value.
T2
,
The type of the third value.
T3
,
The type of the fourth value.
T4
,
The type of the fifth value.
T5
,
The type of the sixth value.
T6
,
The type of the return value.
R
>
Function<Object[], R>

Returns:

The unchecked conversion function to R.
fn6
(final Function<Tuple6<T1, T2, T3, T4, T5, T6>, R>
the function to delegate to
delegate
)

A converting function from Object array to Tuple6 to R.

public static <
The type of the first value.
T1
,
The type of the second value.
T2
,
The type of the third value.
T3
,
The type of the fourth value.
T4
,
The type of the fifth value.
T5
,
The type of the sixth value.
T6
,
The type of the seventh value.
T7
>
Function<Object[], Tuple7<T1, T2, T3, T4, T5, T6, T7>>

Returns:

The unchecked conversion function to Tuple7.
fn7
()

A converting function from Object array to Tuple7

public static <
The type of the first value.
T1
,
The type of the second value.
T2
,
The type of the third value.
T3
,
The type of the fourth value.
T4
,
The type of the fifth value.
T5
,
The type of the sixth value.
T6
,
The type of the seventh value.
T7
,
The type of the return value.
R
>
Function<Object[], R>

Returns:

The unchecked conversion function to R.
fn7
(final Function<Tuple7<T1, T2, T3, T4, T5, T6, T7>, R>
the function to delegate to
delegate
)

A converting function from Object array to Tuple7 to R.

public static <
The type of the first value.
T1
,
The type of the second value.
T2
,
The type of the third value.
T3
,
The type of the fourth value.
T4
,
The type of the fifth value.
T5
,
The type of the sixth value.
T6
,
The type of the seventh value.
T7
,
The type of the eighth value.
T8
>
Function<Object[], Tuple8<T1, T2, T3, T4, T5, T6, T7, T8>>

Returns:

The unchecked conversion function to Tuple8.
fn8
()

A converting function from Object array to Tuple8

public static <
The type of the first value.
T1
,
The type of the second value.
T2
,
The type of the third value.
T3
,
The type of the fourth value.
T4
,
The type of the fifth value.
T5
,
The type of the sixth value.
T6
,
The type of the seventh value.
T7
,
The type of the eighth value.
T8
,
The type of the return value.
R
>
Function<Object[], R>

Returns:

The unchecked conversion function to Tuple8.
fn8
(final Function<Tuple8<T1, T2, T3, T4, T5, T6, T7, T8>, R>
the function to delegate to
delegate
)

A converting function from Object array to Tuple8

public static Function<Object[], Tuple2<T1, T2>>

Returns:

The unchecked conversion function to Tuples.
fnAny
()

A converting function from Object array to Tuples

public static <
The type of the return value.
R
>
Function<Object[], R>

Returns:

The unchecked conversion function to R.
fnAny
(final Function<Tuple2<T1, T2>, R>
the function to delegate to
delegate
)

A converting function from Object array to Tuples to R.

public static Tuple2<T1, T2>

Returns:

The new Tuple2.
fromArray
(Object[]
the content of the Tuple (size 1 to 8)
list
)

Create a Tuple2 with the given array if it is small enough to fit inside a Tuple2 to Tuple8.

public static <
The type of the first value.
T1
,
The type of the second value.
T2
>
Tuple2<T1, T2>

Returns:

The new Tuple2.
of
(T1
The first value in the tuple. Not null.
t1
,
T2
The second value in the tuple. Not null.
t2
)

Create a Tuple2 with the given objects.

public static <
The type of the first value.
T1
,
The type of the second value.
T2
,
The type of the third value.
T3
>
Tuple3<T1, T2, T3>

Returns:

The new Tuple3.
of
(T1
The first value in the tuple. Not null.
t1
,
T2
The second value in the tuple. Not null.
t2
,
T3
The third value in the tuple. Not null.
t3
)

Create a Tuple3 with the given objects.

public static <
The type of the first value.
T1
,
The type of the second value.
T2
,
The type of the third value.
T3
,
The type of the fourth value.
T4
>
Tuple4<T1, T2, T3, T4>

Returns:

The new Tuple4.
of
(T1
The first value in the tuple. Not null.
t1
,
T2
The second value in the tuple. Not null.
t2
,
T3
The third value in the tuple. Not null.
t3
,
T4
The fourth value in the tuple. Not null.
t4
)

Create a Tuple4 with the given objects.

public static <
The type of the first value.
T1
,
The type of the second value.
T2
,
The type of the third value.
T3
,
The type of the fourth value.
T4
,
The type of the fifth value.
T5
>
Tuple5<T1, T2, T3, T4, T5>

Returns:

The new Tuple5.
of
(T1
The first value in the tuple. Not null.
t1
,
T2
The second value in the tuple. Not null.
t2
,
T3
The third value in the tuple. Not null.
t3
,
T4
The fourth value in the tuple. Not null.
t4
,
T5
The fifth value in the tuple. Not null.
t5
)

Create a Tuple5 with the given objects.

public static <
The type of the first value.
T1
,
The type of the second value.
T2
,
The type of the third value.
T3
,
The type of the fourth value.
T4
,
The type of the fifth value.
T5
,
The type of the sixth value.
T6
>
Tuple6<T1, T2, T3, T4, T5, T6>

Returns:

The new Tuple6.
of
(T1
The first value in the tuple. Not null.
t1
,
T2
The second value in the tuple. Not null.
t2
,
T3
The third value in the tuple. Not null.
t3
,
T4
The fourth value in the tuple. Not null.
t4
,
T5
The fifth value in the tuple. Not null.
t5
,
T6
The sixth value in the tuple. Not null.
t6
)

Create a Tuple6 with the given objects.

public static <
The type of the first value.
T1
,
The type of the second value.
T2
,
The type of the third value.
T3
,
The type of the fourth value.
T4
,
The type of the fifth value.
T5
,
The type of the sixth value.
T6
,
The type of the seventh value.
T7
>
Tuple7<T1, T2, T3, T4, T5, T6, T7>

Returns:

The new Tuple7.
of
(T1
The first value in the tuple. Not null.
t1
,
T2
The second value in the tuple. Not null.
t2
,
T3
The third value in the tuple. Not null.
t3
,
T4
The fourth value in the tuple. Not null.
t4
,
T5
The fifth value in the tuple. Not null.
t5
,
T6
The sixth value in the tuple. Not null.
t6
,
T7
The seventh value in the tuple. Not null.
t7
)

Create a Tuple7 with the given objects.

public static <
The type of the first value.
T1
,
The type of the second value.
T2
,
The type of the third value.
T3
,
The type of the fourth value.
T4
,
The type of the fifth value.
T5
,
The type of the sixth value.
T6
,
The type of the seventh value.
T7
,
The type of the eighth value.
T8
>
Tuple8<T1, T2, T3, T4, T5, T6, T7, T8>

Returns:

The new Tuple8.
of
(T1
The first value in the tuple. Not Null.
t1
,
T2
The second value in the tuple.Not Null.
t2
,
T3
The third value in the tuple. Not Null.
t3
,
T4
The fourth value in the tuple. Not Null.
t4
,
T5
The fifth value in the tuple. Not Null.
t5
,
T6
The sixth value in the tuple. Not Null.
t6
,
T7
The seventh value in the tuple. Not Null.
t7
,
T8
The eighth value in the tuple. Not Null.
t8
)

Create a Tuple8 with the given objects.

pack-priv static StringBuilder

Returns:

a StringBuilder initialized with the string representation of the values in the Tuple.
tupleStringRepresentation
(Object...
the values of the tuple to represent
values
)

Prepare a string representation of the values suitable for a Tuple of any size by accepting an array of elements.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

emptyback to summary
pack-priv static final Tuples empty

Constructor Detail

Tuplesback to summary
pack-priv Tuples()

Method Detail

applyback to summary
public Tuple2<T1, T2> apply(Object o)

Implements java.util.function.Function.apply.

Doc from java.util.function.Function.apply.

Applies this function to the given argument.

Parameters
o:Object

the function argument

Returns:Tuple2<T1, T2>

the function result

Annotations
@Override
fn2back to summary
public static <T1, T2> Function<Object[], Tuple2<T1, T2>> fn2()

A converting function from Object array to Tuple2

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
Returns:Function<Object[], Tuple2<T1, T2>>

The unchecked conversion function to Tuple2.

Annotations
@SuppressWarnings:unchecked
fn3back to summary
public static <T1, T2, T3> Function<Object[], Tuple3<T1, T2, T3>> fn3()

A converting function from Object array to Tuple3

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
<T3>
The type of the third value.
Returns:Function<Object[], Tuple3<T1, T2, T3>>

The unchecked conversion function to Tuple3.

Annotations
@SuppressWarnings:unchecked
fn3back to summary
public static <T1, T2, T3, R> Function<Object[], R> fn3(final Function<Tuple3<T1, T2, T3>, R> delegate)

A converting function from Object array to Tuple3 to R.

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
<T3>
The type of the third value.
<R>
The type of the return value.
delegate:Function<Tuple3<T1, T2, T3>, R>

the function to delegate to

Returns:Function<Object[], R>

The unchecked conversion function to R.

fn4back to summary
public static <T1, T2, T3, T4> Function<Object[], Tuple4<T1, T2, T3, T4>> fn4()

A converting function from Object array to Tuple4

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
<T3>
The type of the third value.
<T4>
The type of the fourth value.
Returns:Function<Object[], Tuple4<T1, T2, T3, T4>>

The unchecked conversion function to Tuple4.

Annotations
@SuppressWarnings:unchecked
fn4back to summary
public static <T1, T2, T3, T4, R> Function<Object[], R> fn4(final Function<Tuple4<T1, T2, T3, T4>, R> delegate)

A converting function from Object array to Tuple4 to R.

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
<T3>
The type of the third value.
<T4>
The type of the fourth value.
<R>
The type of the return value.
delegate:Function<Tuple4<T1, T2, T3, T4>, R>

the function to delegate to

Returns:Function<Object[], R>

The unchecked conversion function to R.

fn5back to summary
public static <T1, T2, T3, T4, T5> Function<Object[], Tuple5<T1, T2, T3, T4, T5>> fn5()

A converting function from Object array to Tuple5

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
<T3>
The type of the third value.
<T4>
The type of the fourth value.
<T5>
The type of the fifth value.
Returns:Function<Object[], Tuple5<T1, T2, T3, T4, T5>>

The unchecked conversion function to Tuple5.

Annotations
@SuppressWarnings:unchecked
fn5back to summary
public static <T1, T2, T3, T4, T5, R> Function<Object[], R> fn5(final Function<Tuple5<T1, T2, T3, T4, T5>, R> delegate)

A converting function from Object array to Tuple4 to R.

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
<T3>
The type of the third value.
<T4>
The type of the fourth value.
<T5>
The type of the fifth value.
<R>
The type of the return value.
delegate:Function<Tuple5<T1, T2, T3, T4, T5>, R>

the function to delegate to

Returns:Function<Object[], R>

The unchecked conversion function to R.

fn6back to summary
public static <T1, T2, T3, T4, T5, T6> Function<Object[], Tuple6<T1, T2, T3, T4, T5, T6>> fn6()

A converting function from Object array to Tuple6

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
<T3>
The type of the third value.
<T4>
The type of the fourth value.
<T5>
The type of the fifth value.
<T6>
The type of the sixth value.
Returns:Function<Object[], Tuple6<T1, T2, T3, T4, T5, T6>>

The unchecked conversion function to Tuple6.

Annotations
@SuppressWarnings:unchecked
fn6back to summary
public static <T1, T2, T3, T4, T5, T6, R> Function<Object[], R> fn6(final Function<Tuple6<T1, T2, T3, T4, T5, T6>, R> delegate)

A converting function from Object array to Tuple6 to R.

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
<T3>
The type of the third value.
<T4>
The type of the fourth value.
<T5>
The type of the fifth value.
<T6>
The type of the sixth value.
<R>
The type of the return value.
delegate:Function<Tuple6<T1, T2, T3, T4, T5, T6>, R>

the function to delegate to

Returns:Function<Object[], R>

The unchecked conversion function to R.

fn7back to summary
public static <T1, T2, T3, T4, T5, T6, T7> Function<Object[], Tuple7<T1, T2, T3, T4, T5, T6, T7>> fn7()

A converting function from Object array to Tuple7

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
<T3>
The type of the third value.
<T4>
The type of the fourth value.
<T5>
The type of the fifth value.
<T6>
The type of the sixth value.
<T7>
The type of the seventh value.
Returns:Function<Object[], Tuple7<T1, T2, T3, T4, T5, T6, T7>>

The unchecked conversion function to Tuple7.

Annotations
@SuppressWarnings:unchecked
fn7back to summary
public static <T1, T2, T3, T4, T5, T6, T7, R> Function<Object[], R> fn7(final Function<Tuple7<T1, T2, T3, T4, T5, T6, T7>, R> delegate)

A converting function from Object array to Tuple7 to R.

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
<T3>
The type of the third value.
<T4>
The type of the fourth value.
<T5>
The type of the fifth value.
<T6>
The type of the sixth value.
<T7>
The type of the seventh value.
<R>
The type of the return value.
delegate:Function<Tuple7<T1, T2, T3, T4, T5, T6, T7>, R>

the function to delegate to

Returns:Function<Object[], R>

The unchecked conversion function to R.

fn8back to summary
public static <T1, T2, T3, T4, T5, T6, T7, T8> Function<Object[], Tuple8<T1, T2, T3, T4, T5, T6, T7, T8>> fn8()

A converting function from Object array to Tuple8

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
<T3>
The type of the third value.
<T4>
The type of the fourth value.
<T5>
The type of the fifth value.
<T6>
The type of the sixth value.
<T7>
The type of the seventh value.
<T8>
The type of the eighth value.
Returns:Function<Object[], Tuple8<T1, T2, T3, T4, T5, T6, T7, T8>>

The unchecked conversion function to Tuple8.

Annotations
@SuppressWarnings:unchecked
fn8back to summary
public static <T1, T2, T3, T4, T5, T6, T7, T8, R> Function<Object[], R> fn8(final Function<Tuple8<T1, T2, T3, T4, T5, T6, T7, T8>, R> delegate)

A converting function from Object array to Tuple8

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
<T3>
The type of the third value.
<T4>
The type of the fourth value.
<T5>
The type of the fifth value.
<T6>
The type of the sixth value.
<T7>
The type of the seventh value.
<T8>
The type of the eighth value.
<R>
The type of the return value.
delegate:Function<Tuple8<T1, T2, T3, T4, T5, T6, T7, T8>, R>

the function to delegate to

Returns:Function<Object[], R>

The unchecked conversion function to Tuple8.

fnAnyback to summary
public static Function<Object[], Tuple2<T1, T2>> fnAny()

A converting function from Object array to Tuples

Returns:Function<Object[], Tuple2<T1, T2>>

The unchecked conversion function to Tuples.

Annotations
@SuppressWarnings:unchecked
fnAnyback to summary
public static <R> Function<Object[], R> fnAny(final Function<Tuple2<T1, T2>, R> delegate)

A converting function from Object array to Tuples to R.

Parameters
<R>
The type of the return value.
delegate:Function<Tuple2<T1, T2>, R>

the function to delegate to

Returns:Function<Object[], R>

The unchecked conversion function to R.

fromArrayback to summary
public static Tuple2<T1, T2> fromArray(Object[] list)

Create a Tuple2 with the given array if it is small enough to fit inside a Tuple2 to Tuple8.

Parameters
list:Object[]

the content of the Tuple (size 1 to 8)

Returns:Tuple2<T1, T2>

The new Tuple2.

Exceptions
IllegalArgumentException:
if the array is not of length 1-8
ofback to summary
public static <T1, T2> Tuple2<T1, T2> of(T1 t1, T2 t2)

Create a Tuple2 with the given objects.

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
t1:T1

The first value in the tuple. Not null.

t2:T2

The second value in the tuple. Not null.

Returns:Tuple2<T1, T2>

The new Tuple2.

ofback to summary
public static <T1, T2, T3> Tuple3<T1, T2, T3> of(T1 t1, T2 t2, T3 t3)

Create a Tuple3 with the given objects.

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
<T3>
The type of the third value.
t1:T1

The first value in the tuple. Not null.

t2:T2

The second value in the tuple. Not null.

t3:T3

The third value in the tuple. Not null.

Returns:Tuple3<T1, T2, T3>

The new Tuple3.

ofback to summary
public static <T1, T2, T3, T4> Tuple4<T1, T2, T3, T4> of(T1 t1, T2 t2, T3 t3, T4 t4)

Create a Tuple4 with the given objects.

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
<T3>
The type of the third value.
<T4>
The type of the fourth value.
t1:T1

The first value in the tuple. Not null.

t2:T2

The second value in the tuple. Not null.

t3:T3

The third value in the tuple. Not null.

t4:T4

The fourth value in the tuple. Not null.

Returns:Tuple4<T1, T2, T3, T4>

The new Tuple4.

ofback to summary
public static <T1, T2, T3, T4, T5> Tuple5<T1, T2, T3, T4, T5> of(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5)

Create a Tuple5 with the given objects.

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
<T3>
The type of the third value.
<T4>
The type of the fourth value.
<T5>
The type of the fifth value.
t1:T1

The first value in the tuple. Not null.

t2:T2

The second value in the tuple. Not null.

t3:T3

The third value in the tuple. Not null.

t4:T4

The fourth value in the tuple. Not null.

t5:T5

The fifth value in the tuple. Not null.

Returns:Tuple5<T1, T2, T3, T4, T5>

The new Tuple5.

ofback to summary
public static <T1, T2, T3, T4, T5, T6> Tuple6<T1, T2, T3, T4, T5, T6> of(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6)

Create a Tuple6 with the given objects.

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
<T3>
The type of the third value.
<T4>
The type of the fourth value.
<T5>
The type of the fifth value.
<T6>
The type of the sixth value.
t1:T1

The first value in the tuple. Not null.

t2:T2

The second value in the tuple. Not null.

t3:T3

The third value in the tuple. Not null.

t4:T4

The fourth value in the tuple. Not null.

t5:T5

The fifth value in the tuple. Not null.

t6:T6

The sixth value in the tuple. Not null.

Returns:Tuple6<T1, T2, T3, T4, T5, T6>

The new Tuple6.

ofback to summary
public static <T1, T2, T3, T4, T5, T6, T7> Tuple7<T1, T2, T3, T4, T5, T6, T7> of(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7)

Create a Tuple7 with the given objects.

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
<T3>
The type of the third value.
<T4>
The type of the fourth value.
<T5>
The type of the fifth value.
<T6>
The type of the sixth value.
<T7>
The type of the seventh value.
t1:T1

The first value in the tuple. Not null.

t2:T2

The second value in the tuple. Not null.

t3:T3

The third value in the tuple. Not null.

t4:T4

The fourth value in the tuple. Not null.

t5:T5

The fifth value in the tuple. Not null.

t6:T6

The sixth value in the tuple. Not null.

t7:T7

The seventh value in the tuple. Not null.

Returns:Tuple7<T1, T2, T3, T4, T5, T6, T7>

The new Tuple7.

ofback to summary
public static <T1, T2, T3, T4, T5, T6, T7, T8> Tuple8<T1, T2, T3, T4, T5, T6, T7, T8> of(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7, T8 t8)

Create a Tuple8 with the given objects.

Parameters
<T1>
The type of the first value.
<T2>
The type of the second value.
<T3>
The type of the third value.
<T4>
The type of the fourth value.
<T5>
The type of the fifth value.
<T6>
The type of the sixth value.
<T7>
The type of the seventh value.
<T8>
The type of the eighth value.
t1:T1

The first value in the tuple. Not Null.

t2:T2

The second value in the tuple.Not Null.

t3:T3

The third value in the tuple. Not Null.

t4:T4

The fourth value in the tuple. Not Null.

t5:T5

The fifth value in the tuple. Not Null.

t6:T6

The sixth value in the tuple. Not Null.

t7:T7

The seventh value in the tuple. Not Null.

t8:T8

The eighth value in the tuple. Not Null.

Returns:Tuple8<T1, T2, T3, T4, T5, T6, T7, T8>

The new Tuple8.

tupleStringRepresentationback to summary
pack-priv static StringBuilder tupleStringRepresentation(Object... values)

Prepare a string representation of the values suitable for a Tuple of any size by accepting an array of elements. This builds a StringBuilder containing the String representation of each object, comma separated. It manages nulls as well by putting an empty string and the comma.

Parameters
values:Object[]

the values of the tuple to represent

Returns:StringBuilder

a StringBuilder initialized with the string representation of the values in the Tuple.