class CollectionFunctions {

    public static <R, T> Map<R, T> pairsToMap(List<Pair<R, T>> pairs) {
        return simpleToMap(pairs, Pair::getKey, Pair::getValue);
    }

    private  CollectionFunctions();

}