@FunctionalInterface
public interface Reducer<K,V>
| Modifier and Type | Method and Description |
|---|---|
default Reducer<K,V> |
andThen(Reducer<K,V> reducer) |
static <K,V> Reducer<K,V> |
combine(Reducer<K,V>... reducer) |
void |
reduce(K key,
java.util.Collection<V> elements) |