package jcgp.backend.resources.parameters; import javafx.beans.property.SimpleDoubleProperty; public abstract class DoubleParameter extends Parameter { public DoubleParameter(double value, String name, boolean monitor, boolean critical) { super(name, monitor, critical); this.valueProperty = new SimpleDoubleProperty(value); } public DoubleParameter(double value, String name) { super(name, false, false); this.valueProperty = new SimpleDoubleProperty(value); } @Override public Double get() { return super.get().doubleValue(); } }