public class Tuple1<T1> extends Object implements Tuple, Comparable<Tuple1<T1>>, Serializable, Cloneable
Modifier and Type | Method and Description |
---|---|
Object[] |
array()
Get an array representation of this tuple.
|
Tuple1<T1> |
clone() |
int |
compareTo(Tuple1<T1> other) |
<T2> Tuple2<T1,T2> |
concat(T2 value)
Concatenate a value to this tuple.
|
<T2> Tuple2<T1,T2> |
concat(Tuple1<T2> tuple)
Concatenate a tuple to this tuple.
|
<T2,T3> Tuple3<T1,T2,T3> |
concat(Tuple2<T2,T3> tuple)
Concatenate a tuple to this tuple.
|
<T2,T3,T4> Tuple4<T1,T2,T3,T4> |
concat(Tuple3<T2,T3,T4> tuple)
Concatenate a tuple to this tuple.
|
<T2,T3,T4,T5> |
concat(Tuple4<T2,T3,T4,T5> tuple)
Concatenate a tuple to this tuple.
|
<T2,T3,T4,T5,T6> |
concat(Tuple5<T2,T3,T4,T5,T6> tuple)
Concatenate a tuple to this tuple.
|
<T2,T3,T4,T5,T6,T7> |
concat(Tuple6<T2,T3,T4,T5,T6,T7> tuple)
Concatenate a tuple to this tuple.
|
<T2,T3,T4,T5,T6,T7,T8> |
concat(Tuple7<T2,T3,T4,T5,T6,T7,T8> tuple)
Concatenate a tuple to this tuple.
|
int |
degree()
The degree of this tuple: 1.
|
boolean |
equals(Object o) |
int |
hashCode() |
Iterator<Object> |
iterator() |
List<?> |
list()
Get a list representation of this tuple.
|
<R> R |
map(Function1<T1,R> function)
Apply this tuple as arguments to a function.
|
<U1> Tuple1<U1> |
map1(Function1<? super T1,? extends U1> function)
Apply attribute 1 as argument to a function and return a new tuple with the substituted argument.
|
String |
toString() |
T1 |
v1() |
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 T1 v1()
public final <T2,T3> Tuple3<T1,T2,T3> concat(Tuple2<T2,T3> tuple)
public final <T2,T3,T4> Tuple4<T1,T2,T3,T4> concat(Tuple3<T2,T3,T4> tuple)
public final <T2,T3,T4,T5> Tuple5<T1,T2,T3,T4,T5> concat(Tuple4<T2,T3,T4,T5> tuple)
public final <T2,T3,T4,T5,T6> Tuple6<T1,T2,T3,T4,T5,T6> concat(Tuple5<T2,T3,T4,T5,T6> tuple)
public final <T2,T3,T4,T5,T6,T7> Tuple7<T1,T2,T3,T4,T5,T6,T7> concat(Tuple6<T2,T3,T4,T5,T6,T7> tuple)
public final <T2,T3,T4,T5,T6,T7,T8> Tuple8<T1,T2,T3,T4,T5,T6,T7,T8> concat(Tuple7<T2,T3,T4,T5,T6,T7,T8> tuple)
public final <U1> Tuple1<U1> map1(Function1<? super T1,? extends U1> function)
public final Object[] array()
Tuple
public final List<?> list()
Tuple
public final int degree()
public int compareTo(Tuple1<T1> other)
compareTo
in interface Comparable<Tuple1<T1>>
Copyright © 2015. All Rights Reserved.