public static String toString(int[] values){
  String result="";
  for (  int value : values) {
    result+=value + ",";
  }
  if (StringUtils.isNotBlank(result)) {
    result=result.substring(0,result.length() - 1);
  }
  return result;
}

public static String toString ( int [ ] values ) { String result = "" ; for ( int value : values ) { result += value + "," ; } if ( StringUtils . isNotBlank ( result ) ) { result = result . substring ( 0 , result . length ( ) - 1 ) ; } return result ; }
returns a comma delimited string containing values .
