@Test public void shouldReturnTheFirstObject() { First<Integer> single = tuple(5); Integer first = single.getFirst(); assertThat(first, is(5)); }
@Override public R getFirst() { return first; }
Single extends AbstractTuple implements First<R>,
                   MappableFirst<R, Single<?>> { @Override public R getFirst() { return first; } }
Single extends AbstractTuple implements First<R>,
                   MappableFirst<R, Single<?>> { @Override public R getFirst() { return first; } Single(R first); }
Single extends AbstractTuple implements First<R>,
                   MappableFirst<R, Single<?>> { @Override public R getFirst() { return first; } Single(R first); static Single<R> single(R first); @Override R getFirst(); @Override Single<A> mapFirst(UnaryFunction<R, A> mapper); @Override Iterable<Object> getValues(); }
Single extends AbstractTuple implements First<R>,
                   MappableFirst<R, Single<?>> { @Override public R getFirst() { return first; } Single(R first); static Single<R> single(R first); @Override R getFirst(); @Override Single<A> mapFirst(UnaryFunction<R, A> mapper); @Override Iterable<Object> getValues();  }