@Test public void testEquality() { assertThat(someTuple).isEqualTo(someTuple); assertThat(someTuple).isNotEqualTo(Tuple7.of(1, 2, 4, 5, 6, 7, 10)); assertThat(someTuple).isNotEqualTo("not a tuple"); assertThat(someTuple).isEqualTo(Tuple7.of(1, 2, 3, 4, 5, 6, 7)); }
public static <T1, T2, T3, T4, T5, T6, T7> Tuple7<T1, T2, T3, T4, T5, T6, T7> of(T1 a, T2 b, T3 c, T4 d, T5 e, T6 f, T7 g) { return new Tuple7<>(a, b, c, d, e, f, g); }
Tuple7 extends Tuple6<T1, T2, T3, T4, T5, T6> implements Tuple { public static <T1, T2, T3, T4, T5, T6, T7> Tuple7<T1, T2, T3, T4, T5, T6, T7> of(T1 a, T2 b, T3 c, T4 d, T5 e, T6 f, T7 g) { return new Tuple7<>(a, b, c, d, e, f, g); } }
Tuple7 extends Tuple6<T1, T2, T3, T4, T5, T6> implements Tuple { public static <T1, T2, T3, T4, T5, T6, T7> Tuple7<T1, T2, T3, T4, T5, T6, T7> of(T1 a, T2 b, T3 c, T4 d, T5 e, T6 f, T7 g) { return new Tuple7<>(a, b, c, d, e, f, g); } Tuple7(T1 a, T2 b, T3 c, T4 d, T5 e, T6 f, T7 g); }
Tuple7 extends Tuple6<T1, T2, T3, T4, T5, T6> implements Tuple { public static <T1, T2, T3, T4, T5, T6, T7> Tuple7<T1, T2, T3, T4, T5, T6, T7> of(T1 a, T2 b, T3 c, T4 d, T5 e, T6 f, T7 g) { return new Tuple7<>(a, b, c, d, e, f, g); } Tuple7(T1 a, T2 b, T3 c, T4 d, T5 e, T6 f, T7 g); static Tuple7<T1, T2, T3, T4, T5, T6, T7> of(T1 a, T2 b, T3 c, T4 d, T5 e, T6 f, T7 g); T7 getItem7(); @Override Tuple7<T, T2, T3, T4, T5, T6, T7> mapItem1(Function<T1, T> mapper); @Override Tuple7<T1, T, T3, T4, T5, T6, T7> mapItem2(Function<T2, T> mapper); @Override Tuple7<T1, T2, T, T4, T5, T6, T7> mapItem3(Function<T3, T> mapper); @Override Tuple7<T1, T2, T3, T, T5, T6, T7> mapItem4(Function<T4, T> mapper); @Override Tuple7<T1, T2, T3, T4, T, T6, T7> mapItem5(Function<T5, T> mapper); @Override Tuple7<T1, T2, T3, T4, T5, T, T7> mapItem6(Function<T6, T> mapper); Tuple7<T1, T2, T3, T4, T5, T6, T> mapItem7(Function<T7, 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(); }
Tuple7 extends Tuple6<T1, T2, T3, T4, T5, T6> implements Tuple { public static <T1, T2, T3, T4, T5, T6, T7> Tuple7<T1, T2, T3, T4, T5, T6, T7> of(T1 a, T2 b, T3 c, T4 d, T5 e, T6 f, T7 g) { return new Tuple7<>(a, b, c, d, e, f, g); } Tuple7(T1 a, T2 b, T3 c, T4 d, T5 e, T6 f, T7 g); static Tuple7<T1, T2, T3, T4, T5, T6, T7> of(T1 a, T2 b, T3 c, T4 d, T5 e, T6 f, T7 g); T7 getItem7(); @Override Tuple7<T, T2, T3, T4, T5, T6, T7> mapItem1(Function<T1, T> mapper); @Override Tuple7<T1, T, T3, T4, T5, T6, T7> mapItem2(Function<T2, T> mapper); @Override Tuple7<T1, T2, T, T4, T5, T6, T7> mapItem3(Function<T3, T> mapper); @Override Tuple7<T1, T2, T3, T, T5, T6, T7> mapItem4(Function<T4, T> mapper); @Override Tuple7<T1, T2, T3, T4, T, T6, T7> mapItem5(Function<T5, T> mapper); @Override Tuple7<T1, T2, T3, T4, T5, T, T7> mapItem6(Function<T6, T> mapper); Tuple7<T1, T2, T3, T4, T5, T6, T> mapItem7(Function<T7, 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();  }