1 package net.sourceforge.pmd.lang.rule.properties;
2
3
4
5
6
7
8 public abstract class AbstractMultiNumericProperty<T> extends AbstractNumericProperty<T> {
9
10
11
12
13
14
15
16
17
18
19 protected AbstractMultiNumericProperty(String theName, String theDescription, Number lower, Number upper, T theDefault, float theUIOrder) {
20 super(theName, theDescription, lower, upper, theDefault, theUIOrder);
21 }
22
23
24
25
26
27 @Override
28 public boolean isMultiValue() {
29 return true;
30 }
31
32
33
34
35 protected String defaultAsString() {
36 return asDelimitedString(defaultValue());
37 }
38 }