Class ConfigValue.DoubleValue
- Enclosing class:
ConfigValue<T>
Double value with an inclusive range.
-
Nested Class Summary
Nested classes/interfaces inherited from class ConfigValue
ConfigValue.BooleanValue, ConfigValue.DoubleValue, ConfigValue.EnumValue<E>, ConfigValue.IntegerValue, ConfigValue.LongValue, ConfigValue.StringListValue, ConfigValue.StringValue -
Constructor Summary
ConstructorsConstructorDescriptionDoubleValue(String category, String key, double defaultValue, double min, double max, String description) -
Method Summary
Methods inherited from class ConfigValue
category, description, get, getDefault, isDefault, key, onChange, reset, set, validate
-
Constructor Details
-
DoubleValue
-
-
Method Details
-
min
public double min() -
max
public double max() -
kind
- Specified by:
kindin classConfigValue<Double>
-
check
Description copied from class:ConfigValueValidates (and possibly normalises) a value; throws when unacceptable for code-driven sets.- Specified by:
checkin classConfigValue<Double>
-
serialize
- Specified by:
serializein classConfigValue<Double>
-
deserialize
- Specified by:
deserializein classConfigValue<Double>
-