@Test public void _2() throws Exception { assertThat(tuple._2(),equalTo(5)); assertThat(tuple.map2(i->i+2)._2(),equalTo(7)); assertThat(tuple.lazyMap2(i->i+2)._2(),equalTo(7)); }
public T2 _2(){ return _2; }
Tuple6 implements To<Tuple6<T1,T2,T3,T4,T5,T6>>,
                                                Serializable,
                                                Comparable<Tuple6<T1,T2,T3,T4,T5,T6>> { public T2 _2(){ return _2; } }
Tuple6 implements To<Tuple6<T1,T2,T3,T4,T5,T6>>,
                                                Serializable,
                                                Comparable<Tuple6<T1,T2,T3,T4,T5,T6>> { public T2 _2(){ return _2; }  }
Tuple6 implements To<Tuple6<T1,T2,T3,T4,T5,T6>>,
                                                Serializable,
                                                Comparable<Tuple6<T1,T2,T3,T4,T5,T6>> { public T2 _2(){ return _2; }  static Tuple6<T1,T2,T3,T4,T5,T6> of(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6); static Tuple6<T1,T2,T3,T4,T5,T6> lazy(Supplier<? extends T1> supplier1,
                                                               Supplier<? extends T2> supplier2,
                                                               Supplier<? extends T3> supplier3,
                                                               Supplier<? extends T4> supplier4,
                                                               Supplier<? extends T5> supplier5,
                                                                      Supplier<? extends T6> supplier6); T1 _1(); T2 _2(); T3 _3(); T4 _4(); T5 _5(); T6 _6(); Tuple1<T1> first(); Tuple1<T2> second(); Tuple1<T3> third(); Tuple1<T4> fourth(); Tuple1<T5> fifth(); Tuple1<T6> sixth(); R1 transform(Function6<? super T1, ? super T2, ? super T3,? super T4, ? super T5,? super T6, ? extends R1> fn); Tuple6<T1,T2,T3,T4,T5,T6> eager(); Tuple6<T1,T2,T3,T4,T5,T6> memo(); Tuple6<R1,R2,R3,R4,R5,R6> mapAll(Function<? super T1, ? extends R1> fn1, Function<? super T2,? extends R2> fn2,
                                                            Function<? super T3,? extends R3> fn3,
                                                            Function<? super T4,? extends R4> fn4,
                                                            Function<? super T5,? extends R5> fn5,
                                                                  Function<? super T6,? extends R6> fn6); Tuple6<R1,R2,R3,R4,R5,R6> lazyMapAll(Function<? super T1, ? extends R1> fn1, Function<? super T2,? extends R2> fn2,
                                                              Function<? super T3,? extends R3> fn3,
                                                              Function<? super T4,? extends R4> fn4,
                                                              Function<? super T5,? extends R5> fn5,
                                                                      Function<? super T6,? extends R6> fn6); Tuple6<R, T2,T3,T4,T5,T6> map1(Function<? super T1, ? extends R> fn); Tuple6<R, T2,T3,T4,T5,T6> lazyMap1(Function<? super T1, ? extends R> fn); Tuple6<T1, R, T3, T4,T5,T6> map2(Function<? super T2, ? extends R> fn); Tuple6<T1, R, T3,T4,T5,T6> lazyMap2(Function<? super T2, ? extends R> fn); Tuple6<T1, T2, R,T4,T5,T6> map3(Function<? super T3, ? extends R> fn); Tuple6<T1, T2, R,T4,T5,T6> lazyMap3(Function<? super T3, ? extends R> fn); Tuple6<T1, T2, T3, R , T5, T6> map4(Function<? super T4, ? extends R> fn); Tuple6<T1, T2, T3, R, T5,T6> lazyMap4(Function<? super T4, ? extends R> fn); Tuple6<T1, T2, T3, T4 , R,T6> map5(Function<? super T5, ? extends R> fn); Tuple6<T1, T2, T3, T4, R,T6> lazyMap5(Function<? super T5, ? extends R> fn); Tuple6<T1, T2, T3, T4 , T5,R> map6(Function<? super T6, ? extends R> fn); Tuple6<T1, T2, T3, T4, T5,R> lazyMap6(Function<? super T6, ? extends R> fn); @Override int compareTo(Tuple6<T1, T2, T3, T4,T5,T6> o); R fold(Function6<? super T1, ? super T2, ? super T3,? super T4, ? super T5,? super T6,? extends R> fn); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); final Object[] toArray(); Tuple7<T1, T2, T3, T4, T5, T6, T7> concat(Tuple1<T7> tuple); Tuple8<T1, T2, T3, T4, T5, T6, T7, T8> concat(Tuple2<T7,T8> tuple); Tuple7<T1, T2, T3, T4, T5, T6, T7> lazyConcat(Tuple1<T7> tuple); Tuple8<T1, T2, T3, T4, T5, T6, T7, T8> lazyConcat(Tuple2<T7,T8> tuple); }
Tuple6 implements To<Tuple6<T1,T2,T3,T4,T5,T6>>,
                                                Serializable,
                                                Comparable<Tuple6<T1,T2,T3,T4,T5,T6>> { public T2 _2(){ return _2; }  static Tuple6<T1,T2,T3,T4,T5,T6> of(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6); static Tuple6<T1,T2,T3,T4,T5,T6> lazy(Supplier<? extends T1> supplier1,
                                                               Supplier<? extends T2> supplier2,
                                                               Supplier<? extends T3> supplier3,
                                                               Supplier<? extends T4> supplier4,
                                                               Supplier<? extends T5> supplier5,
                                                                      Supplier<? extends T6> supplier6); T1 _1(); T2 _2(); T3 _3(); T4 _4(); T5 _5(); T6 _6(); Tuple1<T1> first(); Tuple1<T2> second(); Tuple1<T3> third(); Tuple1<T4> fourth(); Tuple1<T5> fifth(); Tuple1<T6> sixth(); R1 transform(Function6<? super T1, ? super T2, ? super T3,? super T4, ? super T5,? super T6, ? extends R1> fn); Tuple6<T1,T2,T3,T4,T5,T6> eager(); Tuple6<T1,T2,T3,T4,T5,T6> memo(); Tuple6<R1,R2,R3,R4,R5,R6> mapAll(Function<? super T1, ? extends R1> fn1, Function<? super T2,? extends R2> fn2,
                                                            Function<? super T3,? extends R3> fn3,
                                                            Function<? super T4,? extends R4> fn4,
                                                            Function<? super T5,? extends R5> fn5,
                                                                  Function<? super T6,? extends R6> fn6); Tuple6<R1,R2,R3,R4,R5,R6> lazyMapAll(Function<? super T1, ? extends R1> fn1, Function<? super T2,? extends R2> fn2,
                                                              Function<? super T3,? extends R3> fn3,
                                                              Function<? super T4,? extends R4> fn4,
                                                              Function<? super T5,? extends R5> fn5,
                                                                      Function<? super T6,? extends R6> fn6); Tuple6<R, T2,T3,T4,T5,T6> map1(Function<? super T1, ? extends R> fn); Tuple6<R, T2,T3,T4,T5,T6> lazyMap1(Function<? super T1, ? extends R> fn); Tuple6<T1, R, T3, T4,T5,T6> map2(Function<? super T2, ? extends R> fn); Tuple6<T1, R, T3,T4,T5,T6> lazyMap2(Function<? super T2, ? extends R> fn); Tuple6<T1, T2, R,T4,T5,T6> map3(Function<? super T3, ? extends R> fn); Tuple6<T1, T2, R,T4,T5,T6> lazyMap3(Function<? super T3, ? extends R> fn); Tuple6<T1, T2, T3, R , T5, T6> map4(Function<? super T4, ? extends R> fn); Tuple6<T1, T2, T3, R, T5,T6> lazyMap4(Function<? super T4, ? extends R> fn); Tuple6<T1, T2, T3, T4 , R,T6> map5(Function<? super T5, ? extends R> fn); Tuple6<T1, T2, T3, T4, R,T6> lazyMap5(Function<? super T5, ? extends R> fn); Tuple6<T1, T2, T3, T4 , T5,R> map6(Function<? super T6, ? extends R> fn); Tuple6<T1, T2, T3, T4, T5,R> lazyMap6(Function<? super T6, ? extends R> fn); @Override int compareTo(Tuple6<T1, T2, T3, T4,T5,T6> o); R fold(Function6<? super T1, ? super T2, ? super T3,? super T4, ? super T5,? super T6,? extends R> fn); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); final Object[] toArray(); Tuple7<T1, T2, T3, T4, T5, T6, T7> concat(Tuple1<T7> tuple); Tuple8<T1, T2, T3, T4, T5, T6, T7, T8> concat(Tuple2<T7,T8> tuple); Tuple7<T1, T2, T3, T4, T5, T6, T7> lazyConcat(Tuple1<T7> tuple); Tuple8<T1, T2, T3, T4, T5, T6, T7, T8> lazyConcat(Tuple2<T7,T8> tuple);  }