20 package net.sf.gridarta.plugin.parameter;
25 import org.jetbrains.annotations.NotNull;
48 private double max = 1.0;
60 return visitor.visit(
this);
65 final double doubleValue;
67 doubleValue = Double.parseDouble(stringValue);
68 }
catch (
final NumberFormatException ignored) {
71 if (doubleValue <
min) {
74 if (doubleValue >
max) {
85 super.setValue(Math.max(Math.min(
value,
max),
min));
113 final double newMax = Math.max(
min,
max);
114 if (this.max == newMax) {
137 final double newMin = Math.min(
min,
max);
138 if (this.min == newMin) {