public void putAll(final FacetsArray newFacets){
  if (facets.length == 0) {
    facets=new Facet[newFacets.facets.length];
    System.arraycopy(newFacets.facets,0,facets,0,newFacets.facets.length);
  }
 else {
    for (    Facet f : newFacets.entrySet()) {
      if (f != null) {
        put(f.key,f.value);
      }
    }
  }
}

public void putAll ( final FacetsArray newFacets ) { if ( facets . length == 0 ) { facets = new Facet [ newFacets . facets . length ] ; System . arraycopy ( newFacets . facets , 0 , facets , 0 , newFacets . facets . length ) ; } else { for ( Facet f : newFacets . entrySet ( ) ) { if ( f != null ) { put ( f . key , f . value ) ; } } } }
adds all the facets passed in parameter , replacing the existing ones if any
