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