Class ImmutableMap


  • public class ImmutableMap
    extends Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ImmutableMap()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <KeyType,​ValueType>
      Map<KeyType,​ValueType>
      of()  
      static <KeyType,​ValueType>
      Map<KeyType,​ValueType>
      of​(KeyType k1, ValueType v1)  
      static <KeyType,​ValueType>
      Map<KeyType,​ValueType>
      of​(KeyType k1, ValueType v1, KeyType k2, ValueType v2)  
      static <KeyType,​ValueType>
      Map<KeyType,​ValueType>
      of​(KeyType k1, ValueType v1, KeyType k2, ValueType v2, KeyType k3, ValueType v3)  
    • Constructor Detail

      • ImmutableMap

        public ImmutableMap()
    • Method Detail

      • of

        public static <KeyType,​ValueType> Map<KeyType,​ValueType> of()
      • of

        public static <KeyType,​ValueType> Map<KeyType,​ValueType> of​(KeyType k1,
                                                                                ValueType v1)
      • of

        public static <KeyType,​ValueType> Map<KeyType,​ValueType> of​(KeyType k1,
                                                                                ValueType v1,
                                                                                KeyType k2,
                                                                                ValueType v2)
      • of

        public static <KeyType,​ValueType> Map<KeyType,​ValueType> of​(KeyType k1,
                                                                                ValueType v1,
                                                                                KeyType k2,
                                                                                ValueType v2,
                                                                                KeyType k3,
                                                                                ValueType v3)