mathiasbn
03/22/2017, 7:55 AMpublic static<T, R> Collector<T, R, R> of(Supplier<R> supplier,
BiConsumer<R, T> accumulator,
BinaryOperator<R> combiner,
Characteristics... characteristics)
The problem is, that the kotlin version (taking kotlin functions instead of SAMs) doesn't have vararg Characteristics, but instead Array<Characteristics>