public class DoubleArrayConfigKey extends ConfigKey<double[]>
| Constructor and Description |
|---|
DoubleArrayConfigKey(ConfigMeta meta,
double[] dflt)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Specifier<double[]> |
createSpecifier()
Constructs a graphical control with which the user can
specify a suitable value for association with this key.
|
double[] |
stringToValue(String txt)
Decodes a string value to the value type of this key.
|
String |
valueToString(double[] dvals)
Reports a value as a string.
|
cast, getDefaultValue, getMeta, getValueClass, toStringpublic DoubleArrayConfigKey(ConfigMeta meta, double[] dflt)
meta - metadatadflt - default valuepublic String valueToString(double[] dvals)
ConfigKeystringToValue(valueToString(v)).equals(v).
A null value, if permitted, should be represented as an empty string.valueToString in class ConfigKey<double[]>dvals - possible value associated with this keypublic double[] stringToValue(String txt) throws ConfigException
ConfigKeystringToValue in class ConfigKey<double[]>txt - string representation of valueConfigExceptionpublic Specifier<double[]> createSpecifier()
ConfigKeycreateSpecifier in class ConfigKey<double[]>Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.