T
- the input type of the Collector
.A
- the accumulator type of the Collector
.R
- the return type of the Collector
.public interface CollectorTesterDSL3<T,A,R>
Collector
tester
.Modifier and Type | Method and Description |
---|---|
CollectorTesterDSL2<T,A,R> |
withInput(Stream<T> input)
Specify a sample input Stream to be used to test the
Collector . |
CollectorTesterDSL2<T,A,R> |
withParallelStreamFromList(List<T> input)
Specify a sample input List that will be transformed as parallelStream
and be used as a sample to test the
Collector . |
CollectorTesterDSL2<T,A,R> |
withStreamFromArray(T... input)
Specify a sample input array that will be transformed as stream and be
used as a sample to test the
Collector
. |
CollectorTesterDSL2<T,A,R> |
withStreamFromArray(T first)
Specify a sample input array that will be transformed as stream and be
used as a sample to test the
Collector
. |
CollectorTesterDSL2<T,A,R> |
withStreamFromArray(T first,
T second)
Specify a sample input array that will be transformed as stream and be
used as a sample to test the
Collector
. |
CollectorTesterDSL2<T,A,R> |
withStreamFromArray(T first,
T second,
T third)
Specify a sample input array that will be transformed as stream and be
used as a sample to test the
Collector
. |
CollectorTesterDSL2<T,A,R> |
withStreamFromArray(T first,
T second,
T third,
T fourth)
Specify a sample input array that will be transformed as stream and be
used as a sample to test the
Collector
. |
CollectorTesterDSL2<T,A,R> |
withStreamFromArray(T first,
T second,
T third,
T fourth,
T fifth)
Specify a sample input array that will be transformed as stream and be
used as a sample to test the
Collector
. |
CollectorTesterDSL2<T,A,R> |
withStreamFromList(List<T> input)
Specify a sample input List that will be transformed as stream and be
used as a sample to test the
Collector
. |
CollectorTesterDSL2<T,A,R> withInput(Stream<T> input)
Collector
.input
- the sample input.the next step of the DSL
CollectorTesterDSL2<T,A,R> withStreamFromList(List<T> input)
Collector
.input
- the sample input.the next step of the DSL
CollectorTesterDSL2<T,A,R> withParallelStreamFromList(List<T> input)
Collector
.input
- the sample input.the next step of the DSL
CollectorTesterDSL2<T,A,R> withStreamFromArray(T... input)
Collector
.input
- the sample input.the next step of the DSL
CollectorTesterDSL2<T,A,R> withStreamFromArray(T first)
Collector
.first
- the first input.the next step of the DSL
CollectorTesterDSL2<T,A,R> withStreamFromArray(T first, T second)
Collector
.first
- the first input.second
- the second input.the next step of the DSL
CollectorTesterDSL2<T,A,R> withStreamFromArray(T first, T second, T third)
Collector
.first
- the first input.second
- the second input.third
- the third input.the next step of the DSL
CollectorTesterDSL2<T,A,R> withStreamFromArray(T first, T second, T third, T fourth)
Collector
.first
- the first input.second
- the second input.third
- the third input.fourth
- the fourth input.the next step of the DSL
CollectorTesterDSL2<T,A,R> withStreamFromArray(T first, T second, T third, T fourth, T fifth)
Collector
.first
- the first input.second
- the second input.third
- the third input.fourth
- the fourth input.fifth
- the fifth input.the next step of the DSL
Copyright © 2015 Powerunit. All rights reserved.