{{theTime}}

Search This Blog

Total Pageviews

How to iterate HashMap without any generics


public static void printMap(HashMap mp) {
   Iterator it = mp.entrySet().iterator();
   while (it.hasNext()) {
       Map.Entry pairs = (Map.Entry)it.next();
       String values = pairs.getKey() + " = " + pairs.getValue() ;
       System.out.println(values);
       logger.info(values) ;
       it.remove();
   }
}

No comments:

Could not find method signingConfigs() for arguments

Could not find method signingConfigs() for arguments [build_5dw7nwfc8ibd8sagvx4p79x1u$_run_closure5@13e86039] on root project 'android&#...