- Type Parameters:
T
- the type of the value in the stream to transformU
- the type of the value in the resulting stream
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A stream pipe is used within a template to transform a stream before applying templates to the elements of the stream.
- Since:
- 1.2
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptiondefault <V> StreamPipe
<T, V> and
(StreamPipe<U, V> after) Chains the specified stream pipe after this pipe.
-
Method Details
-
and
Chains the specified stream pipe after this pipe.
- Type Parameters:
V
- the type of the value in the resulting stream- Parameters:
after
- the stream pipe to chain after this pipe- Returns:
- A stream pipe which first invokes this pipe and then the after pipe
-