public void addToFilters(Filter filter){
  if (filters == null) {
    filters=new HashMap();
  }
  filters.put(filter.getName(),filter);
}

public void addToFilters ( Filter filter ) { if ( filters == null ) { filters = new HashMap ( ) ; } filters . put ( filter . getName ( ) , filter ) ; }
add filter to category filters
