private List<Pair<String,Object>> toPairList(final Map<String,Object> bindings){
  final List<Pair<String,Object>> blist=new ArrayList<Pair<String,Object>>();
  for (  final Map.Entry<String,Object> pair : bindings.entrySet()) {
    blist.add(new Pair<String,Object>(pair.getKey(),pair.getValue()));
  }
  return blist;
}

private List < Pair < String , Object > > toPairList ( final Map < String , Object > bindings ) { final List < Pair < String , Object > > blist = new ArrayList < Pair < String , Object > > ( ) ; for ( final Map . Entry < String , Object > pair : bindings . entrySet ( ) ) { blist . add ( new Pair < String , Object > ( pair . getKey ( ) , pair . getValue ( ) ) ) ; } return blist ; }
converts a hash map of bindings to a list of binding pairs .
