package org.bitbucket.cowwoc.guava.stream;
import java.util.Map;
import java.util.function.BiConsumer;
import java.util.function.BinaryOperator;
import java.util.function.Function;
import java.util.function.Supplier;
import java.util.stream.Collector;
import java.util.stream.Collector.Characteristics;
import org.bitbucket.cowwoc.preconditions.Preconditions;
/**
* Builds a stream {@link Collector} that returns a {@link Map}.
*
* @author Gili Tzabari
* @param the type of the input elements
* @param the type of keys stored in the map
* @param the type of values stored in the map
* @param the output type of the collector
*/
public final class MapCollectorBuilder>
{
private final Function super T, ? extends K> keyMapper;
private final Function super T, ? extends V> valueMapper;
private Supplier