Interface IAttributes

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getAttribute​(java.lang.String key)
      Gets the value of an attribute, given a key.
      void setAttribute​(java.lang.String key, java.lang.String value)
      Adds a key and a value of an attributes.
      int size()
      Returns the number of attributes.
      • Methods inherited from interface java.lang.Iterable

        forEach, iterator, spliterator
    • Method Detail

      • getAttribute

        java.lang.String getAttribute​(java.lang.String key)
        Gets the value of an attribute, given a key.
        Parameters:
        key - the key
        Returns:
        the attribute
      • setAttribute

        void setAttribute​(java.lang.String key,
                          java.lang.String value)
        Adds a key and a value of an attributes.
        Parameters:
        key - the key
        value - the value
      • size

        int size()
        Returns the number of attributes.
        Returns:
        the number of attributes