Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.
public interface Collector<T, A, R>
Methods
public abstract Supplier<A> supplier() | |
public abstract BiConsumer<A, T> accumulator() | |
public abstract BinaryOperator<A> combiner() | |
public abstract Function<A, R> finisher() |
Method details
supplier
public abstract Supplier<A> supplier()accumulator
public abstract BiConsumer<A, T> accumulator()combiner
public abstract BinaryOperator<A> combiner()finisher
public abstract Function<A, R> finisher()