<awangdev>Plus One_3.java
public int[] plusOne(int[] digits) {
    	if (digits == null || digits.length == 0) {
    		return null;
    	}
    	
    	String str = "";
    	for (int i = 0; i < digits.length; i++) {
    		str += digits[i];
    	}
    	long digit = Long.parseLong(str);
    	digit += 1;
    	str = digit + "";
    	int[] rst = new int[str.length()];
    	for (int i = 0; i < str.length(); i++) {
    		rst[i] = Character.getNumericValue(str.charAt(i));
    	}
    	return rst;
    }
public int [ ] sample_funcname ( int [ ] var_0 ) {
  if ( var_0 == null || var_0 . length == 0 ) {
    return null ;
  }
  String var_6 = "" ;
  for ( int var_7 = 0 ;
  var_7 < var_0 . length ;
  var_7 ++ ) {
    var_6 += var_0 [ var_7 ] ;
  }
  long var_10 = Long . parseLong ( var_6 ) ;
  var_10 += 1 ;
  var_6 = var_10 + "" ;
  int [ ] var_12 = new int [ var_6 . length ( ) ] ;
  for ( int var_7 = 0 ;
  var_7 < var_6 . length ( ) ;
  var_7 ++ ) {
    var_12 [ var_7 ] = Character . getNumericValue ( var_6 . charAt ( var_7 ) ) ;
  }
  return var_12 ;
}
