@Test void type() { TypeToken<Integer> intType = TypeToken.of(Integer.class); when(intSequence.type()).thenReturn(intType); SequenceExpression<Integer> sut = new SequenceExpression<>(intSequence); TypeToken<Integer> result = sut.type(); assertThat(result, sameInstance(intType)); }
@Override public TypeToken<T> type() { return sequence.type(); }
SequenceExpression implements TypedExpression<T> { @Override public TypeToken<T> type() { return sequence.type(); } }
SequenceExpression implements TypedExpression<T> { @Override public TypeToken<T> type() { return sequence.type(); } SequenceExpression(Sequence<T> sequence); }
SequenceExpression implements TypedExpression<T> { @Override public TypeToken<T> type() { return sequence.type(); } SequenceExpression(Sequence<T> sequence); @Override String label(Scope scope); @Override RowMapper<T> rowMapper(Scope scope, Optional<String> label); @Override TypeToken<T> type(); @Override String sql(Scope scope); @Override Stream<Object> args(Scope scope); @Override Precedence precedence(); T single(); }
SequenceExpression implements TypedExpression<T> { @Override public TypeToken<T> type() { return sequence.type(); } SequenceExpression(Sequence<T> sequence); @Override String label(Scope scope); @Override RowMapper<T> rowMapper(Scope scope, Optional<String> label); @Override TypeToken<T> type(); @Override String sql(Scope scope); @Override Stream<Object> args(Scope scope); @Override Precedence precedence(); T single();  }