1 | try {↵ | | 1 | try {↵
|
2 | Constructor constr = colClass.getConstructor(new Class[] { Long.TYPE });↵ | | 2 | Constructor constr = colClass.getConstructor(new Class[] { Double.TYPE });↵
|
3 | return constr.newInstance(new Object[] { new Long(0L) });↵ | | 3 | return constr.newInstance(new Object[] { new Double(0D) });↵
|
4 | } catch (NoSuchMethodException err) {↵ | | 4 | } catch (NoSuchMethodException err) {↵
|
5 | } catch (InstantiationException err) {↵ | | 5 | } catch (InstantiationException err) {↵
|
6 | } catch (IllegalAccessException err) {↵ | | 6 | } catch (IllegalAccessException err) {↵
|
7 | } catch (InvocationTargetException err) {↵ | | 7 | } catch (InvocationTargetException err) {↵
|
8 | | | 8 |
|