public void addAll(Map<String,String> map){
  if (map == null) {
    throw new NullPointerException("contexts");
  }
  addAll(map.entrySet());
}

public void addAll ( Map < String , String > map ) { if ( map == null ) { throw new NullPointerException ( "contexts" ) ; } addAll ( map . entrySet ( ) ) ; }
adds the entry set of a map to the set
