Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Abandoned
-
None
-
None
-
None
-
None
Description
This is to provide users a way to extend the api and provide custom operators not covered by the standard set of apis.
We could also expose a “stream.process()” method that takes a custom implementation of the Processor interface. (Internally the built-in operations are also executed via the processor interface).
Processor<T> customProcessor = new Processor<T>()
{...}Stream<R> stream2 = stream1.process(customProcessor);
The user defined custom processor implements the Standard processor interface used by the built in operators (The interface may need a bit of tweaking).