public class MapUtils
extends Object
Utilities for working with
Map
s.
-
Method Summary
mapOf(K k1,
V v1,
K k2,
V v2)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
asHashMap
public static <K,
V> HashMap<K,V> asHashMap(Map<K,V> map)
-
mapOf
public static <K,
V> Map<K,V> mapOf(K k1,
V v1)
-
mapOf
public static <K,
V> Map<K,V> mapOf(K k1,
V v1,
K k2,
V v2)