elemental.util.

Interface MapFromStringToString


  • public interface MapFromStringToString

    A lightweight map from String to String.

    See Also:

    JsMapFromStringToString

    • Method Summary

      All Methods
      Modifier and Type Method and Description
      String get(String key)

      Retrieves a value for the specified key.

      boolean hasKey(String key)

      Indicates whether the map contains a value for the specified key.

      ArrayOfString keys()

      The keys contained within this map.

      void put(String key, String value)

      Associates a value to the specified key.

      void remove(String key)

      Removes the value associated with the specified value, if one exists.

      ArrayOfString values()

      The values contained in this map.

    • Method Detail

      • get

        String get(String key)

        Retrieves a value for the specified key.

      • hasKey

        boolean hasKey(String key)

        Indicates whether the map contains a value for the specified key.

      • keys

        ArrayOfString keys()

        The keys contained within this map. This copies the keys into a new array.

      • put

        void put(String key,
                 String value)

        Associates a value to the specified key.

      • remove

        void remove(String key)

        Removes the value associated with the specified value, if one exists.

      • values

        ArrayOfString values()

        The values contained in this map. This copies the values into a new array.