public void set(Map<String, String> newConfiguration) {
    for(Map.Entry<String, String> entry : newConfiguration.entrySet()) {
      if(entry.getValue() == null) {
        this.unset(entry.getKey());
      } else {
        this.set(entry.getKey(), entry.getValue());
      }
    }
  }
public void set(Map<String, String> newConfiguration) {
    for(Map.Entry<String, String> entry : newConfiguration.entrySet()) {
      if(entry.getValue() == null) {
        this.unset(entry.getKey());
      } else {
        this.set(entry.getKey(), entry.getValue());
      }
    }
  }
public void set ( Map < String , String > newConfiguration ) { for ( Map . Entry < String , String > entry : newConfiguration . entrySet ( ) ) { if ( entry . getValue ( ) == null ) { this . unset ( entry . getKey ( ) ) ; } else { this . set ( entry . getKey ( ) , entry . getValue ( ) ) ; } } }
Set multiple configs at once.

If a value of given config is 'null', then this config key will be un-set.
Set multiple configs at once .