Interface IPropertyBag

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object getProperty​(java.lang.Object key)
      Returns the value to which the specified key is mapped, or null if there is no mapping for the key.
      java.util.List<java.lang.Object> getPropertyKeys()
      Returns a List of all available property keys.
      java.lang.Object putProperty​(java.lang.Object key, java.lang.Object value)
      Associates the specified value with the specified key.
    • Method Detail

      • putProperty

        java.lang.Object putProperty​(java.lang.Object key,
                                     java.lang.Object value)
        Associates the specified value with the specified key. If a mapping for the key already exists, the old value is replaced.
        Parameters:
        key - key with which the specified value is to be associated
        value - value to be associated with the specified key
        Returns:
        the previous value associated with key, or null if there was no mapping for key.
        See Also:
        getProperty(Object)
      • getProperty

        java.lang.Object getProperty​(java.lang.Object key)
        Returns the value to which the specified key is mapped, or null if there is no mapping for the key.
        See Also:
        putProperty(Object, Object)
      • getPropertyKeys

        java.util.List<java.lang.Object> getPropertyKeys()
        Returns a List of all available property keys. The list may be empty.
        Returns:
        The list of all property keys.
        Since:
        0.10