Class MapUtils


  • public class MapUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MapUtils()  
    • Method Summary

      Modifier and Type Method Description
      static <K,​V>
      java.util.Map<K,​V>
      ofMap​(K k1, V v1)  
      static <K,​V>
      java.util.Map<K,​V>
      ofMap​(K k1, V v1, K k2, V v2)  
      static <K,​V>
      java.util.Map<K,​V>
      ofMap​(K k1, V v1, K k2, V v2, K k3, V v3)  
      static <K,​V>
      java.util.Map<K,​V>
      ofMap​(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4)  
      static <K,​V>
      java.util.Map<K,​V>
      ofMap​(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5)  
      static <K,​V>
      java.util.Map<K,​V>
      ofMap​(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6)  
      static <K,​V>
      java.util.Map<K,​V>
      ofMap​(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapUtils

        public MapUtils()
    • Method Detail

      • ofMap

        public static <K,​V> java.util.Map<K,​V> ofMap​(K k1,
                                                                 V v1)
      • ofMap

        public static <K,​V> java.util.Map<K,​V> ofMap​(K k1,
                                                                 V v1,
                                                                 K k2,
                                                                 V v2)
      • ofMap

        public static <K,​V> java.util.Map<K,​V> ofMap​(K k1,
                                                                 V v1,
                                                                 K k2,
                                                                 V v2,
                                                                 K k3,
                                                                 V v3)
      • ofMap

        public static <K,​V> java.util.Map<K,​V> ofMap​(K k1,
                                                                 V v1,
                                                                 K k2,
                                                                 V v2,
                                                                 K k3,
                                                                 V v3,
                                                                 K k4,
                                                                 V v4)
      • ofMap

        public static <K,​V> java.util.Map<K,​V> ofMap​(K k1,
                                                                 V v1,
                                                                 K k2,
                                                                 V v2,
                                                                 K k3,
                                                                 V v3,
                                                                 K k4,
                                                                 V v4,
                                                                 K k5,
                                                                 V v5)
      • ofMap

        public static <K,​V> java.util.Map<K,​V> ofMap​(K k1,
                                                                 V v1,
                                                                 K k2,
                                                                 V v2,
                                                                 K k3,
                                                                 V v3,
                                                                 K k4,
                                                                 V v4,
                                                                 K k5,
                                                                 V v5,
                                                                 K k6,
                                                                 V v6)
      • ofMap

        public static <K,​V> java.util.Map<K,​V> ofMap​(K k1,
                                                                 V v1,
                                                                 K k2,
                                                                 V v2,
                                                                 K k3,
                                                                 V v3,
                                                                 K k4,
                                                                 V v4,
                                                                 K k5,
                                                                 V v5,
                                                                 K k6,
                                                                 V v6,
                                                                 K k7,
                                                                 V v7)