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 |
orElse(double defaultValue) |
Double |
setNewInstance()
Adds a new instance of the content class
Override this method for types that cannot be default-constructed
|
equals, getContent, getContentClass, getContentOrDefault, getTextDescription, hashCode, isEnabled, setContent, setEnabled, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTextDescriptionOf
public OptionalDoubleParameter()
public OptionalDoubleParameter(OptionalDoubleParameter other)
other
- the originalpublic OptionalDoubleParameter(double value, boolean enabled)
public Double setNewInstance()
OptionalParameter
setNewInstance
in class OptionalParameter<Double>
public double orElse(double defaultValue)
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.