default Document putAll(Iterator<Field> fields){
  while (fields.hasNext()) {
    Field field=fields.next();
    setValue(field.getName(),field.getValue());
  }
  return this;
}

default Document putAll ( Iterator < Field > fields ) { while ( fields . hasNext ( ) ) { Field field = fields . next ( ) ; setValue ( field . getName ( ) , field . getValue ( ) ) ; } return this ; }
sets on this object all name / value pairs from the supplied object . if the supplied object is null , this method does nothing .
