1 | try {↵ | | |
|
2 | Constructor constr = colClass.getConstructor(new Class[] { String.class });↵ | | |
|
3 | return constr.newInstance(new Object[] { "" });↵ | | |
|
4 | } catch (NoSuchMethodException err) {↵ | | |
|
5 | } catch (InstantiationException err) {↵ | | |
|
6 | } catch (IllegalAccessException err) {↵ | | |
|
7 | } catch (InvocationTargetException err) {↵ | | |
|
8 | }↵ | | |
|
9 | try {↵ | | 1 | try {↵
|
10 | Constructor constr = colClass.getConstructor(new Class[] { Integer.TYPE });↵ | | 2 | Constructor constr = colClass.getConstructor(new Class[] { Integer.TYPE });↵
|
11 | return constr.newInstance(new Object[] { new Integer(0) });↵ | | 3 | return constr.newInstance(new Object[] { new Integer(0) });↵
|
12 | } catch (NoSuchMethodException err) {↵ | | 4 | } catch (NoSuchMethodException err) {↵
|
13 | } catch (InstantiationException err) {↵ | | 5 | } catch (InstantiationException err) {↵
|
14 | } catch (IllegalAccessException err) {↵ | | 6 | } catch (IllegalAccessException err) {↵
|
15 | } catch (InvocationTargetException err) {↵ | | 7 | } catch (InvocationTargetException err) {↵
|
16 | }↵ | | 8 | }↵
|
17 | try {↵ | | 9 | try {↵
|
18 | Constructor constr = colClass.getConstructor(new Class[] { Long.TYPE });↵ | | 10 | Constructor constr = colClass.getConstructor(new Class[] { Long.TYPE });↵
|
19 | return constr.newInstance(new Object[] { new Long(0L) });↵ | | 11 | return constr.newInstance(new Object[] { new Long(0L) });↵
|
20 | } catch (NoSuchMethodException err) {↵ | | 12 | } catch (NoSuchMethodException err) {↵
|
21 | } catch (InstantiationException err) {↵ | | 13 | } catch (InstantiationException err) {↵
|
22 | } catch (IllegalAccessException err) {↵ | | 14 | } catch (IllegalAccessException err) {↵
|
23 | } catch (InvocationTargetException err) {↵ | | 15 | } catch (InvocationTargetException err) {↵
|
24 | }↵ | | 16 | }↵
|
25 | try {↵ | | 17 | try {↵
|
26 | Constructor constr = colClass.getConstructor(new Class[] { Boolean.TYPE });↵ | | 18 | Constructor constr = colClass.getConstructor(new Class[] { Boolean.TYPE });↵
|
27 | return constr.newInstance(new Object[] { Boolean.FALSE });↵ | | 19 | return constr.newInstance(new Object[] { Boolean.FALSE });↵
|
28 | } catch (NoSuchMethodException err) {↵ | | 20 | } catch (NoSuchMethodException err) {↵
|
29 | } catch (InstantiationException err) {↵ | | 21 | } catch (InstantiationException err) {↵
|
30 | } catch (IllegalAccessException err) {↵ | | 22 | } catch (IllegalAccessException err) {↵
|
31 | } catch (InvocationTargetException err) {↵ | | 23 | } catch (InvocationTargetException err) {↵
|
32 | }↵ | | 24 | }↵
|
33 | try {↵ | | 25 | try {↵
|
34 | Constructor constr = colClass.getConstructor(new Class[] { Float.TYPE });↵ | | 26 | Constructor constr = colClass.getConstructor(new Class[] { Float.TYPE });↵
|
35 | return constr.newInstance(new Object[] { new Float(0F) });↵ | | 27 | return constr.newInstance(new Object[] { new Float(0F) });↵
|
36 | } catch (NoSuchMethodException err) {↵ | | 28 | } catch (NoSuchMethodException err) {↵
|
37 | } catch (InstantiationException err) {↵ | | 29 | } catch (InstantiationException err) {↵
|
38 | } catch (IllegalAccessException err) {↵ | | 30 | } catch (IllegalAccessException err) {↵
|
39 | } catch (InvocationTargetException err) {↵ | | 31 | } catch (InvocationTargetException err) {↵
|
40 | }↵ | | 32 | }↵
|
41 | try {↵ | | 33 | try {↵
|
42 | Constructor constr = colClass.getConstructor(new Class[] { Double.TYPE });↵ | | 34 | Constructor constr = colClass.getConstructor(new Class[] { Double.TYPE });↵
|
43 | return constr.newInstance(new Object[] { new Double(0D) });↵ | | 35 | return constr.newInstance(new Object[] { new Double(0D) });↵
|
44 | } catch (NoSuchMethodException err) {↵ | | 36 | } catch (NoSuchMethodException err) {↵
|
45 | } catch (InstantiationException err) {↵ | | 37 | } catch (InstantiationException err) {↵
|
46 | } catch (IllegalAccessException err) {↵ | | 38 | } catch (IllegalAccessException err) {↵
|
47 | } catch (InvocationTargetException err) {↵ | | 39 | } catch (InvocationTargetException err) {↵
|
48 | }↵ | | 40 | }↵
|
49 | try {↵ | | 41 | try {↵
|
50 | Constructor constr = colClass.getConstructor(new Class[] { Character.TYPE });↵ | | 42 | Constructor constr = colClass.getConstructor(new Class[] { Character.TYPE });↵
|
51 | return constr.newInstance(new Object[] { new Character(' ') });↵ | | 43 | return constr.newInstance(new Object[] { new Character(' ') });↵
|
52 | } catch (NoSuchMethodException err) {↵ | | 44 | } catch (NoSuchMethodException err) {↵
|
53 | } catch (InstantiationException err) {↵ | | 45 | } catch (InstantiationException err) {↵
|
54 | } catch (IllegalAccessException err) {↵ | | 46 | } catch (IllegalAccessException err) {↵
|
55 | } catch (InvocationTargetException err) {↵ | | 47 | } catch (InvocationTargetException err) {↵
|
56 | }↵ | | 48 | }↵
|
57 | try {↵ | | 49 | try {↵
|
58 | Constructor constr = colClass.getConstructor(new Class[] { Byte.TYPE });↵ | | 50 | Constructor constr = colClass.getConstructor(new Class[] { Byte.TYPE });↵
|
59 | return constr.newInstance(new Object[] { new Byte(Byte.MIN_VALUE) });↵ | | 51 | return constr.newInstance(new Object[] { new Byte(Byte.MIN_VALUE) });↵
|
60 | } catch (NoSuchMethodException err) {↵ | | 52 | } catch (NoSuchMethodException err) {↵
|
61 | } catch (InstantiationException err) {↵ | | 53 | } catch (InstantiationException err) {↵
|
62 | } catch (IllegalAccessException err) {↵ | | 54 | } catch (IllegalAccessException err) {↵
|
63 | } catch (InvocationTargetException err) {↵ | | 55 | } catch (InvocationTargetException err) {↵
|
64 | } | | 56 | }↵
|
| | | 57 | try {↵
|
| | | 58 | Constructor constr = colClass.getConstructor(new Class[] { Short.TYPE });↵
|
| | | 59 | return constr.newInstance(new Object[] { new Short(Short.MIN_VALUE) });↵
|
| | | 60 | } catch (NoSuchMethodException err) {↵
|
| | | 61 | } catch (InstantiationException err) {↵
|
| | | 62 | } catch (IllegalAccessException err) {↵
|
| | | 63 | } catch (InvocationTargetException err) {↵
|
| | | 64 | }
|