private static String convertRelevance(int relevance){
  StringBuilder sb=new StringBuilder();
  while (relevance > 0) {
    sb.insert(0,REVERSE_CHAR_MAP[relevance % 10]);
    relevance=relevance / 10;
  }
  return sb.toString();
}

private static String convertRelevance ( int relevance ) { StringBuilder sb = new StringBuilder ( ) ; while ( relevance > 0 ) { sb . insert ( 0 , REVERSE_CHAR_MAP [ relevance % 10 ] ) ; relevance = relevance / 10 ; } return sb . toString ( ) ; }
converts the relevance to a sort text . uses a reverse character map to convert digits to text .
