elemental.util.

Interface Mappable


  • public interface Mappable

    An object which can act like a Javascript object with String keys.

    • Method Summary

      All Methods
      Modifier and Type Method and Description
      Object at(String key)

      Gets the value at a given key.

      void setAt(String key, Object value)

      Sets the value at a given key.

    • Method Detail

      • at

        Object at(String key)

        Gets the value at a given key.

        Parameters:

        key - the key to be retrieved

        Returns:

        the value at the given index

      • setAt

        void setAt(String key,
                   Object value)

        Sets the value at a given key.

        Parameters:

        key - the key to assign to