程序包 proguard.util
类 MapUtil
java.lang.Object
proguard.util.MapUtil
-
方法概要
修饰符和类型方法说明static <T> voidfilterTreeMap(TreeMap<String, T> map, StringMatcher keyFilter, Consumer<T> consumer) Visits every entry in a TreeMap where the key matches the given filter.static <K,V> Map<K, V> Constructs an immutable Map from the given key and value objects.
-
方法详细资料
-
of
Constructs an immutable Map from the given key and value objects. Equivalent to the Map.of() convenience method available in modern Java. -
filterTreeMap
public static <T> void filterTreeMap(TreeMap<String, T> map, StringMatcher keyFilter, Consumer<T> consumer) Visits every entry in a TreeMap where the key matches the given filter.
-