functionalj.stream.StreamProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of functionalj-core Show documentation
Show all versions of functionalj-core Show documentation
The module for FunctionalJ Core.
package functionalj.stream;
import functionalj.function.Func1;
import lombok.val;
public interface StreamProcessor {
public static StreamProcessor from(Func1, T> mapper) {
return s -> mapper.apply(s);
}
public TARGET process(StreamPlus stream);
default