public interface MutableConfiguration extends Configuration
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
remove(java.lang.String key)
Removes a key from this configuration.
|
<T> T |
removeAs(java.lang.String key)
Removes a key from this configuration.
|
<T> T |
removeConverted(java.lang.String key,
java.lang.Class<T> type)
Removes a key from this configuration.
|
void |
set(java.lang.String key,
java.lang.Object value)
Sets a key/value pair on this configuration.
|
asFlatMap, asProperties, asResourceBundle, containsKey, get, get, getAs, getAs, getAsBoolean, getAsBoolean, getAsDouble, getAsDouble, getAsFloat, getAsFloat, getAsInt, getAsInt, getAsLong, getAsLong, getAsString, getAsString, getAt, getAt, getConverted, getConverted, getConverted, getConverted
void set(@Nonnull java.lang.String key, @Nonnull java.lang.Object value)
key
- the key to be registeredvalue
- the value to save@Nullable java.lang.Object remove(@Nonnull java.lang.String key)
key
- the key to be removed@Nullable <T> T removeAs(@Nonnull java.lang.String key)
key
- the key to be removed@Nullable <T> T removeConverted(@Nonnull java.lang.String key, @Nonnull java.lang.Class<T> type)
PropertyEditor
.key
- the key to be removedtype
- the type to be returned