程序包 proguard.util
类 MapUtil
- java.lang.Object
-
- proguard.util.MapUtil
-
public class MapUtil extends java.lang.Object
-
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static <T> voidfilterTreeMap(java.util.TreeMap<java.lang.String,T> map, StringMatcher keyFilter, java.util.function.Consumer<T> consumer)Visits every entry in a TreeMap where the key matches the given filter.static <K,V>
java.util.Map<K,V>of(java.lang.Object... keysValues)Constructs an immutable Map from the given key and value objects.
-
-
-
方法详细资料
-
of
public static <K,V> java.util.Map<K,V> of(java.lang.Object... keysValues)
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(java.util.TreeMap<java.lang.String,T> map, StringMatcher keyFilter, java.util.function.Consumer<T> consumer)Visits every entry in a TreeMap where the key matches the given filter.
-
-