public static @NotNull <T> Processor<T> filter(@NotNull Processor<? super T> processor,
                                                 @NotNull Predicate<? super T> filter) {
    return o -> !filter.test(o) || processor.process(o);
  }
public static @NotNull <T> Processor<T> filter(@NotNull Processor<? super T> processor,
                                                 @NotNull Predicate<? super T> filter)