public class OptionalIntegerParameter extends OptionalParameter<Integer>
Integer
OptionalParameter.Deserializer<T>, OptionalParameter.Serializer
Constructor and Description |
---|
OptionalIntegerParameter()
Creates a new instance
|
OptionalIntegerParameter(boolean enabled,
int value) |
OptionalIntegerParameter(OptionalIntegerParameter other)
Creates a copy
|
Modifier and Type | Method and Description |
---|---|
Integer |
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 OptionalIntegerParameter()
public OptionalIntegerParameter(boolean enabled, int value)
public OptionalIntegerParameter(OptionalIntegerParameter other)
other
- the originalpublic Integer setNewInstance()
OptionalParameter
setNewInstance
in class OptionalParameter<Integer>
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.