private Set<T> convertResults(Collection<Token> tokens){
  Set<T> results=new HashSet<T>();
  for (  Token token : tokens) {
    results.add(adapter.fromToken(token));
  }
  return results;
}

private Set < T > convertResults ( Collection < Token > tokens ) { Set < T > results = new HashSet < T > ( ) ; for ( Token token : tokens ) { results . add ( adapter . fromToken ( token ) ) ; } return results ; }
internal conversion function to handle the query result .
