public class Tuple5<T1,T2,T3,T4,T5> extends Object implements Tuple, Comparable<Tuple5<T1,T2,T3,T4,T5>>, Serializable, Cloneable
Constructor and Description |
---|
Tuple5(T1 v1,
T2 v2,
T3 v3,
T4 v4,
T5 v5) |
Tuple5(Tuple5<T1,T2,T3,T4,T5> tuple) |
Modifier and Type | Method and Description |
---|---|
Object[] |
array()
Get an array representation of this tuple.
|
Tuple5<T1,T2,T3,T4,T5> |
clone() |
int |
compareTo(Tuple5<T1,T2,T3,T4,T5> other) |
<T6> Tuple6<T1,T2,T3,T4,T5,T6> |
concat(T6 value)
Concatenate a value to this tuple.
|
<T6> Tuple6<T1,T2,T3,T4,T5,T6> |
concat(Tuple1<T6> tuple)
Concatenate a tuple to this tuple.
|
<T6,T7> Tuple7<T1,T2,T3,T4,T5,T6,T7> |
concat(Tuple2<T6,T7> tuple)
Concatenate a tuple to this tuple.
|
<T6,T7,T8> Tuple8<T1,T2,T3,T4,T5,T6,T7,T8> |
concat(Tuple3<T6,T7,T8> tuple)
Concatenate a tuple to this tuple.
|
int |
degree()
The degree of this tuple: 5.
|
boolean |
equals(Object o) |
int |
hashCode() |
Iterator<Object> |
iterator() |
List<?> |
list()
Get a list representation of this tuple.
|
<R> R |
map(Function5<T1,T2,T3,T4,T5,R> function)
Apply this tuple as arguments to a function.
|
<U1> Tuple5<U1,T2,T3,T4,T5> |
map1(Function1<? super T1,? extends U1> function)
Apply attribute 1 as argument to a function and return a new tuple with the substituted argument.
|
<U2> Tuple5<T1,U2,T3,T4,T5> |
map2(Function1<? super T2,? extends U2> function)
Apply attribute 2 as argument to a function and return a new tuple with the substituted argument.
|
<U3> Tuple5<T1,T2,U3,T4,T5> |
map3(Function1<? super T3,? extends U3> function)
Apply attribute 3 as argument to a function and return a new tuple with the substituted argument.
|
<U4> Tuple5<T1,T2,T3,U4,T5> |
map4(Function1<? super T4,? extends U4> function)
Apply attribute 4 as argument to a function and return a new tuple with the substituted argument.
|
<U5> Tuple5<T1,T2,T3,T4,U5> |
map5(Function1<? super T5,? extends U5> function)
Apply attribute 5 as argument to a function and return a new tuple with the substituted argument.
|
String |
toString() |
T1 |
v1() |
T2 |
v2() |
T3 |
v3() |
T4 |
v4() |
T5 |
v5() |
finalize, getClass, notify, notifyAll, wait, wait, wait
collectors, collectors, collectors, collectors, collectors, collectors, collectors, collectors, range, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple
forEach, spliterator
public final T1 v1
public final T2 v2
public final T3 v3
public final T4 v4
public final T5 v5
public T1 v1()
public T2 v2()
public T3 v3()
public T4 v4()
public T5 v5()
public final <T6> Tuple6<T1,T2,T3,T4,T5,T6> concat(T6 value)
public final <T6> Tuple6<T1,T2,T3,T4,T5,T6> concat(Tuple1<T6> tuple)
public final <T6,T7> Tuple7<T1,T2,T3,T4,T5,T6,T7> concat(Tuple2<T6,T7> tuple)
public final <T6,T7,T8> Tuple8<T1,T2,T3,T4,T5,T6,T7,T8> concat(Tuple3<T6,T7,T8> tuple)
public final <R> R map(Function5<T1,T2,T3,T4,T5,R> function)
public final <U1> Tuple5<U1,T2,T3,T4,T5> map1(Function1<? super T1,? extends U1> function)
public final <U2> Tuple5<T1,U2,T3,T4,T5> map2(Function1<? super T2,? extends U2> function)
public final <U3> Tuple5<T1,T2,U3,T4,T5> map3(Function1<? super T3,? extends U3> function)
public final <U4> Tuple5<T1,T2,T3,U4,T5> map4(Function1<? super T4,? extends U4> function)
public final <U5> Tuple5<T1,T2,T3,T4,U5> map5(Function1<? super T5,? extends U5> function)
public final Object[] array()
Tuple
public final List<?> list()
Tuple
public final int degree()
Copyright © 2015. All Rights Reserved.