@Test public void shouldReturnTheFifthObject() { Fifth<Long> quintuple = tuple(5, "Five", true, 3.6, 23L); Long fifth = quintuple.getFifth(); assertThat(fifth, is(23L)); }
@Override public V getFifth() { return fifth; }
Quintuple extends Quadruple<R, S, T, U> implements Fifth<V>,
                   MappableFifth<V, Quintuple<R, S, T, U, ?>> { @Override public V getFifth() { return fifth; } }
Quintuple extends Quadruple<R, S, T, U> implements Fifth<V>,
                   MappableFifth<V, Quintuple<R, S, T, U, ?>> { @Override public V getFifth() { return fifth; } Quintuple(R first, S second, T third, U fourth, V fifth); }
Quintuple extends Quadruple<R, S, T, U> implements Fifth<V>,
                   MappableFifth<V, Quintuple<R, S, T, U, ?>> { @Override public V getFifth() { return fifth; } Quintuple(R first, S second, T third, U fourth, V fifth); static Quintuple<R, S, T, U, V> quintuple(R first, S second, T third, U fourth, V fifth); @Override V getFifth(); @Override Quintuple<A, S, T, U, V> mapFirst(UnaryFunction<R, A> function); @Override Quintuple<R, A, T, U, V> mapSecond(UnaryFunction<S, A> function); @Override Quintuple<R, S, A, U, V> mapThird(UnaryFunction<T, A> function); @Override Quintuple<R, S, T, A, V> mapFourth(UnaryFunction<U, A> function); @Override Quintuple<R, S, T, U, A> mapFifth(UnaryFunction<V, A> function); @Override Iterable<Object> getValues(); }
Quintuple extends Quadruple<R, S, T, U> implements Fifth<V>,
                   MappableFifth<V, Quintuple<R, S, T, U, ?>> { @Override public V getFifth() { return fifth; } Quintuple(R first, S second, T third, U fourth, V fifth); static Quintuple<R, S, T, U, V> quintuple(R first, S second, T third, U fourth, V fifth); @Override V getFifth(); @Override Quintuple<A, S, T, U, V> mapFirst(UnaryFunction<R, A> function); @Override Quintuple<R, A, T, U, V> mapSecond(UnaryFunction<S, A> function); @Override Quintuple<R, S, A, U, V> mapThird(UnaryFunction<T, A> function); @Override Quintuple<R, S, T, A, V> mapFourth(UnaryFunction<U, A> function); @Override Quintuple<R, S, T, U, A> mapFifth(UnaryFunction<V, A> function); @Override Iterable<Object> getValues();  }