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;
40 public static void main(String[] args)
44 CountDecimate dec =
new CountDecimate(3);
47 Print print =
new Print();
48 Connector.connect(dec, print);
52 Pushable p = dec.getPushableInput();
53 for (
int i = 0; i < 10; i++)
static void main(String[] args)
Use the CountDecimate processor to discard events from a stream.