类 ConfigurationOptionHolder
java.lang.Object
cc.carm.lib.configuration.source.option.ConfigurationOptionHolder
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明<V> Vclear(@NotNull ConfigurationOption<V> type) Set the value of option to option'sConfigurationOption.defaults().<V> Vget(@NotNull ConfigurationOption<V> type) Get the value of option.static @NotNull ConfigurationOptionHolderof(@NotNull Map<ConfigurationOption<?>, Object> options) <V> Vset(@NotNull ConfigurationOption<V> type, V value) Set the value of option.@NotNull Map<ConfigurationOption<?>,Object> values()
-
字段详细资料
-
options
-
-
构造器详细资料
-
ConfigurationOptionHolder
public ConfigurationOptionHolder() -
ConfigurationOptionHolder
-
-
方法详细资料
-
of
@NotNull public static @NotNull ConfigurationOptionHolder of(@NotNull @NotNull Map<ConfigurationOption<?>, Object> options) -
values
-
get
Get the value of option.- 类型参数:
V- Value type- 参数:
type-ConfigurationOption- 返回:
- Value of option
-
set
Set the value of option.- 类型参数:
V- Value type- 参数:
type-ConfigurationOptionvalue- Value of option- 返回:
- Previous value of option
-
clear
Set the value of option to option'sConfigurationOption.defaults().- 类型参数:
V- Value type- 参数:
type-ConfigurationOption- 返回:
- Previous value of option
-