[ Version ( since = "0.1.10" ) ]
public void @set (KeyID key, Value value)
Sets the value associated with key
into this.
Old value is freed and the new one is set.
Also, checks that value
is compliant with key
specification, modifying it accordingly. For instance, if
key
requires a number between 0 and 10, but value is outside this range, it will be adapted accordingly.
this |
set of related keys to modify |
key |
key to change or add |
value |
the new value |