- All Implemented Interfaces:
- FilterPipe<S>, Pipe<S,S>, MetaPipe, Iterable<S>, Iterator<S>
public class OrFilterPipe<S>
extends AbstractMetaPipe<S,S>
implements FilterPipe<S>, MetaPipe
The OrFilterPipe takes a collection of pipes that are wrapped in HasNextPipes. Each pipe in the collection is fed the same incoming S object.
If one of the internal pipes emits true, then the OrFilterPipe emits the S object. If not, then the incoming object is not emitted.
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)