Uses of Class
cc.carm.lib.easyoptions.OptionType
-
-
Uses of OptionType in cc.carm.lib.easyoptions
Methods in cc.carm.lib.easyoptions that return OptionType Modifier and Type Method Description static <T> OptionType<T>
OptionType. of(@NotNull java.lang.Class<T> valueClazz, T defaultValue)
static <T> OptionType<T>
OptionType. of(T defaultValue)
Methods in cc.carm.lib.easyoptions that return types with arguments of type OptionType Modifier and Type Method Description @NotNull java.util.Map<OptionType<?>,java.lang.Object>
OptionHolder. options()
Methods in cc.carm.lib.easyoptions with parameters of type OptionType Modifier and Type Method Description default <V> V
OptionHolder. clear(@NotNull OptionType<V> type)
Set the value of option to option'sdefaults()
.default <V> V
OptionHolder. get(@NotNull OptionType<V> type)
Get the value of option.default <V> V
OptionHolder. set(@NotNull OptionType<V> type, V value)
Set the value of option.Method parameters in cc.carm.lib.easyoptions with type arguments of type OptionType Modifier and Type Method Description static OptionHolder
OptionHolder. createOptionHolder(@NotNull java.util.Map<OptionType<?>,java.lang.Object> options)
-