code: void setFilter(Filter filter)
      {
          this.filter = Optional.ofNullable(filter).orElse(FilterNone.INSTANCE);
          transform = getTransform();
      }
docs: Set the filter to use.
  
  @param filter The filter to use (if <code>null</code> then {@link FilterNone#INSTANCE} is used).