public static<T,
K,
U,
M extends Map<K,
U>>Collector<T,?,M>toMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends U> valueMapper,
Supplier<M> mapSupplier)
toLinkedHashMap
public static<T,
K,
U>Collector<T,?,Map<K,U>>toLinkedHashMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends U> valueMapper)