class ImmutableMapFactory {

    public static <K, V> ImmutableMap<K, V> parse(
            String s,
            Function<String, K> keyParser,
            Function<String, V> valueParser) {
        return parseAndFilter(s, keyParser, valueParser, (x, y) -> true);
    }

}