org.crsh.stream
Interface Filter<C,P,CONS extends Consumer<? super P>>

Type Parameters:
C - the consumed element generic type
P - the produced element generic type
CONS - the consumer generic type
All Superinterfaces:
Consumer<C>, Producer<P,CONS>
All Known Implementing Classes:
BaseCommandMatch.BaseInvoker, ClosureInvoker, CommandInvoker, Pipe, PipeLine

public interface Filter<C,P,CONS extends Consumer<? super P>>
extends Consumer<C>, Producer<P,CONS>

A filter is the combination of a producer and a consumer.


Method Summary
 
Methods inherited from interface org.crsh.stream.Consumer
flush, getConsumedType, provide
 
Methods inherited from interface org.crsh.stream.Producer
close, getProducedType, open
 



Copyright © 2015 eXo Platform SAS. All Rights Reserved.