Class ListOrderedMapCI<T>

    • Constructor Detail

      • ListOrderedMapCI

        public ListOrderedMapCI()
    • Method Detail

      • get

        public T get​(Object key)
        Get the object associated with this key.
        Specified by:
        get in interface Map<String,​T>
        Overrides:
        get in class LinkedHashMap<String,​T>
        Parameters:
        key - A case insensitive String.
        Returns:
        The value for this key
      • put

        public T put​(String key,
                     T value)
        Adds a value to the end of the list with the specified key.
        Specified by:
        put in interface Map<String,​T>
        Overrides:
        put in class HashMap<String,​T>
        Parameters:
        key - A case insensitive String.
        value - The value to add
        Returns:
        The value for previously mapped to this key
      • remove

        public T remove​(Object key)
        Removes the mapping for the specified key.
        Specified by:
        remove in interface Map<String,​T>
        Overrides:
        remove in class HashMap<String,​T>
        Parameters:
        key - A case insensitive String.
        Returns:
        the removed value, or null if none existed
      • containsKey

        public boolean containsKey​(Object key)
        Test if the key exists in the mapping.
        Specified by:
        containsKey in interface Map<String,​T>
        Overrides:
        containsKey in class HashMap<String,​T>
        Parameters:
        key - The case insensitive key to test for.
        Returns:
        True if the key exists.