private final < T > Object parseTypeArr ( Converter < T > converter , Class < T > valType , String [ ] arr ) throws Exception { Object objArr = Array . newInstance ( valType , arr . length ) ; for ( int i = 0 ; i < arr . length ; i ++ ) { T item = converter . parseFromString ( valType , null , null , arr [ i ] ) ; Array . set ( objArr , i , item ) ; } return objArr ; }
say hello to arrays of primitives