@Test public void testToString() { for (int i = 1; i <= someTuple.size(); i++) { assertThat(someTuple.toString()).contains("item" + i + "=" + someTuple.nth(i - 1)); } }
@Override public String toString() { return "Tuple{" + "item1=" + item1 + ",item2=" + item2 + ",item3=" + item3 + ",item4=" + item4 + ",item5=" + item5 + ",item6=" + item6 + ",item7=" + item7 + ",item8=" + item8 + ",item9=" + item9 + '}'; }
Tuple9 extends Tuple8<T1, T2, T3, T4, T5, T6, T7, T8> implements Tuple { @Override public String toString() { return "Tuple{" + "item1=" + item1 + ",item2=" + item2 + ",item3=" + item3 + ",item4=" + item4 + ",item5=" + item5 + ",item6=" + item6 + ",item7=" + item7 + ",item8=" + item8 + ",item9=" + item9 + '}'; } }
Tuple9 extends Tuple8<T1, T2, T3, T4, T5, T6, T7, T8> implements Tuple { @Override public String toString() { return "Tuple{" + "item1=" + item1 + ",item2=" + item2 + ",item3=" + item3 + ",item4=" + item4 + ",item5=" + item5 + ",item6=" + item6 + ",item7=" + item7 + ",item8=" + item8 + ",item9=" + item9 + '}'; } Tuple9(T1 a, T2 b, T3 c, T4 d, T5 e, T6 f, T7 g, T8 h, T9 i); }
Tuple9 extends Tuple8<T1, T2, T3, T4, T5, T6, T7, T8> implements Tuple { @Override public String toString() { return "Tuple{" + "item1=" + item1 + ",item2=" + item2 + ",item3=" + item3 + ",item4=" + item4 + ",item5=" + item5 + ",item6=" + item6 + ",item7=" + item7 + ",item8=" + item8 + ",item9=" + item9 + '}'; } Tuple9(T1 a, T2 b, T3 c, T4 d, T5 e, T6 f, T7 g, T8 h, T9 i); static Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, T9> of(T1 a, T2 b, T3 c, T4 d, //NOSONAR
            T5 e, T6 f, T7 g, T8 h, T9 i); T9 getItem9(); @Override Tuple9<T, T2, T3, T4, T5, T6, T7, T8, T9> mapItem1(Function<T1, T> mapper); @Override Tuple9<T1, T, T3, T4, T5, T6, T7, T8, T9> mapItem2(Function<T2, T> mapper); @Override Tuple9<T1, T2, T, T4, T5, T6, T7, T8, T9> mapItem3(Function<T3, T> mapper); @Override Tuple9<T1, T2, T3, T, T5, T6, T7, T8, T9> mapItem4(Function<T4, T> mapper); @Override Tuple9<T1, T2, T3, T4, T, T6, T7, T8, T9> mapItem5(Function<T5, T> mapper); @Override Tuple9<T1, T2, T3, T4, T5, T, T7, T8, T9> mapItem6(Function<T6, T> mapper); @Override Tuple9<T1, T2, T3, T4, T5, T6, T, T8, T9> mapItem7(Function<T7, T> mapper); @Override Tuple9<T1, T2, T3, T4, T5, T6, T7, T, T9> mapItem8(Function<T8, T> mapper); Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, T> mapItem9(Function<T9, T> mapper); @Override Object nth(int index); @Override List<Object> asList(); @Override int size(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
Tuple9 extends Tuple8<T1, T2, T3, T4, T5, T6, T7, T8> implements Tuple { @Override public String toString() { return "Tuple{" + "item1=" + item1 + ",item2=" + item2 + ",item3=" + item3 + ",item4=" + item4 + ",item5=" + item5 + ",item6=" + item6 + ",item7=" + item7 + ",item8=" + item8 + ",item9=" + item9 + '}'; } Tuple9(T1 a, T2 b, T3 c, T4 d, T5 e, T6 f, T7 g, T8 h, T9 i); static Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, T9> of(T1 a, T2 b, T3 c, T4 d, //NOSONAR
            T5 e, T6 f, T7 g, T8 h, T9 i); T9 getItem9(); @Override Tuple9<T, T2, T3, T4, T5, T6, T7, T8, T9> mapItem1(Function<T1, T> mapper); @Override Tuple9<T1, T, T3, T4, T5, T6, T7, T8, T9> mapItem2(Function<T2, T> mapper); @Override Tuple9<T1, T2, T, T4, T5, T6, T7, T8, T9> mapItem3(Function<T3, T> mapper); @Override Tuple9<T1, T2, T3, T, T5, T6, T7, T8, T9> mapItem4(Function<T4, T> mapper); @Override Tuple9<T1, T2, T3, T4, T, T6, T7, T8, T9> mapItem5(Function<T5, T> mapper); @Override Tuple9<T1, T2, T3, T4, T5, T, T7, T8, T9> mapItem6(Function<T6, T> mapper); @Override Tuple9<T1, T2, T3, T4, T5, T6, T, T8, T9> mapItem7(Function<T7, T> mapper); @Override Tuple9<T1, T2, T3, T4, T5, T6, T7, T, T9> mapItem8(Function<T8, T> mapper); Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, T> mapItem9(Function<T9, T> mapper); @Override Object nth(int index); @Override List<Object> asList(); @Override int size(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }