getOrPut
Executes the get function. If the result of the get function is null the defaultValue will be evaluated and put into the compound.
This function won't return null, it either returns the value in already present in the compound, or it will return the evaluated default value, after having stored it as well.