Module jpastreamer.pipeline
Interface HasFunction<S,R>
- All Known Subinterfaces:
IntermediateOperation<S,,R> TerminalOperation<S,R>
public interface HasFunction<S,R>
-
Method Summary
-
Method Details
-
function
Returns a function, that when applied, will convert from a source stream of type S to some result of type R.- Returns:
- a function, that when applied, will convert from a source stream of type S to some result of type R
- Throws:
ClassCastException- if the operation is not applicable (e.g. a terminating operation does not have a function but perhaps a consumer
-