component-installation-plugin / com.intershop.gradle.component.installation.filter / FormattedProperties / put

put

@Synchronized fun put(aKey: String, aValue: String): Any?

This method sets a property with a given name to the given value.

Parameters

aKey - The key of the property to set.

aValue - The value to set for the property.

Return
The previous value for the key.

fun put(key: Any, value: Any?): Any?

Maps the specified key to the specified value in this hashtable. Neither the key nor the value can be null.

The value can be retrieved by calling the get method with a key that is equal to the original key.

Parameters

key - the hashtable key

value - the value

Return
the previous value of the specified key in this hashtable, or null if it did not have one