public class DoubleArrayConfigKey extends ConfigKey<double[]>
| Constructor | Description |
|---|---|
DoubleArrayConfigKey(ConfigMeta meta,
double[] dflt) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
Specifier<double[]> |
createSpecifier() |
Constructs a graphical control with which the user can
specify a suitable value for association with this key.
|
double[] |
stringToValue(java.lang.String txt) |
Decodes a string value to the value type of this key.
|
java.lang.String |
valueToString(double[] dvals) |
Reports a value as a string.
|
cast, getDefaultValue, getMeta, getValueClass, toStringpublic DoubleArrayConfigKey(ConfigMeta meta, double[] dflt)
meta - metadatadflt - default valuepublic java.lang.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(java.lang.String txt)
throws ConfigException
ConfigKeystringToValue in class ConfigKey<double[]>txt - string representation of valueConfigExceptionpublic Specifier<double[]> createSpecifier()
ConfigKeycreateSpecifier in class ConfigKey<double[]>Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.