code: public synchronized void updateFilters(NotificationFilter[] filtersArray) {
          filters.clear();
          if (filtersArray != null)
              Collections.addAll(filters, filtersArray);
      }
docs: Override the list of filters with given array.