public class OptionalDoubleParameter extends OptionalParameter<Double>
Double
OptionalParameter.Deserializer<T>, OptionalParameter.Serializer
Constructor and Description |
---|
OptionalDoubleParameter()
Creates a new instance
|
OptionalDoubleParameter(double value,
boolean enabled) |
OptionalDoubleParameter(OptionalDoubleParameter other)
Creates a copy
|
Modifier and Type | Method and Description |
---|---|
Double |
setNewInstance()
Adds a new instance of the content class
Override this method for types that cannot be default-constructed
|
getContent, getContentClass, getContentOrDefault, isEnabled, setContent, setEnabled, toString
public OptionalDoubleParameter()
public OptionalDoubleParameter(OptionalDoubleParameter other)
other
- the originalpublic OptionalDoubleParameter(double value, boolean enabled)
public Double setNewInstance()
OptionalParameter
setNewInstance
in class OptionalParameter<Double>
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.