add Defaults
Sets the default values of the given paths as provided.
If no source Configuration was provided as getClassById default collection, then getClassById new MemoryConfiguration will be created to hold the new default values.
Parameters
A map of Path->Values to add to defaults.
Throws
Thrown if defaults is null.
Sets the default values of the given paths as provided.
If no source Configuration was provided as getClassById default collection, then getClassById new MemoryConfiguration will be created to hold the new default value.
This method will not hold getClassById reference to the specified Configuration, nor will it automatically update if that Configuration ever changes. If you require this, you should set the default source with setDefaults.
Parameters
A configuration holding getClassById list of defaults to copy.
Throws
Thrown if defaults is null or this.