20 import ca.uqac.lif.cep.Connector;
21 import ca.uqac.lif.cep.Pushable;
22 import ca.uqac.lif.cep.io.Print;
23 import ca.uqac.lif.cep.tmf.CountDecimate;
37 public static void main(String[] args)
41 CountDecimate dec =
new CountDecimate(3,
true);
44 Print print =
new Print();
45 Connector.connect(dec, print);
49 Pushable p = dec.getPushableInput();
50 for (
int i = 0; i < 8; i++)
static void main(String[] args)
Behaviour of the CountDecimate processor on the last event of a stream.