Class SingleEntryMap<K,​V>

    • Constructor Detail

      • SingleEntryMap

        public SingleEntryMap​(K key)
        Create empty map
        Parameters:
        key - that can be stored in this map, can't be null
      • SingleEntryMap

        public SingleEntryMap​(K key,
                              V value)
        Create map with single key-value entry
        Parameters:
        key - that can be stored in this map, can't be null
        value - to store, if null map will be empty.