public interface SettingsStorage
Modifier and Type | Method and Description |
---|---|
<T> T |
getSetting(Key key)
Returns the setting with the specified key.
|
<T> void |
removeSetting(Key key)
Removes the setting with the specified key.
|
<T> void |
removeSettingDefault(Key key)
Removes the default setting with the specified key.
|
<T> void |
setSetting(Key key,
T value)
Sets the setting with the specified key to the specified value.
|
<T> void |
setSettingDefault(Key key,
T value)
Sets a default value for the setting with the specified key.
|
<T> T getSetting(Key key)
T
- Type of setting.key
- Key.<T> void setSetting(Key key, T value)
T
- Type of setting.key
- Key.value
- Value to be set.<T> void removeSetting(Key key)
T
- Type of setting.key
- Key.<T> void setSettingDefault(Key key, T value)
T
- Type of setting.key
- Key.value
- Value to be set.<T> void removeSettingDefault(Key key)
T
- Type of setting.key
- Key.Copyright © 2009-2013. All Rights Reserved.