private static Escape[] hex2Escapes(char min,char max){
  Escape[] out=new Escape[max - min + 1];
  for (int i=0; i < out.length; ++i) {
    StringBuilder sb=new StringBuilder(4);
    char ch=(char)(min + i);
    try {
      hex2Escape(ch,sb);
    }
 catch (    IOException ex) {
      throw new SomethingWidgyHappenedError("StringBuilders don't throw IOException",ex);
    }
    out[i]=new Escape(ch,sb.toString());
  }
  return out;
}

private static Escape [ ] hex2Escapes ( char min , char max ) { Escape [ ] out = new Escape [ max - min + 1 ] ; for ( int i = 0 ; i < out . length ; ++ i ) { StringBuilder sb = new StringBuilder ( 4 ) ; char ch = ( char ) ( min + i ) ; try { hex2Escape ( ch , sb ) ; } catch ( IOException ex ) { throw new SomethingWidgyHappenedError ( "StringBuilders don't throw IOException" , ex ) ; } out [ i ] = new Escape ( ch , sb . toString ( ) ) ; } return out ; }
produces hex escape for all characters in the given inclusive range .
