private String createUniqueName(String baseName){
  int r=random.nextInt();
  String suffix=Integer.toString(r);
  if (suffix.charAt(0) == '-') {
    suffix=suffix.replace('-','_');
  }
  return baseName + suffix;
}

private String createUniqueName ( String baseName ) { int r = random . nextInt ( ) ; String suffix = Integer . toString ( r ) ; if ( suffix . charAt ( 0 ) == '-' ) { suffix = suffix . replace ( '-' , '_' ) ; } return baseName + suffix ; }
generates a unique name by appending a random number to the given base name .
