[ Version ( since = "0.1.4" ) ]
public void @set (KeyID key, Value value)
Sets the first value associated with key in this.
If key already has a value 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 |
data to modify |
| key |
key to change or add |
| value |
the new value |