CollectorTester<T,A,R> |
CollectorTester.expectCollects(R expectedResult,
T... inputs) |
Verifies that the specified expected result is always produced by collecting the specified
inputs, regardless of how the elements are divided.
|
static <T extends @Nullable Object,A extends @Nullable Object,R extends @Nullable Object> CollectorTester<T,A,R> |
CollectorTester.of(Collector<T,A,R> collector) |
Creates a CollectorTester for the specified Collector.
|
static <T extends @Nullable Object,A extends @Nullable Object,R extends @Nullable Object> CollectorTester<T,A,R> |
CollectorTester.of(Collector<T,A,R> collector,
BiPredicate<? super R,? super R> equivalence) |
Creates a CollectorTester for the specified Collector.
|