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.Trim;
38 public static void main (String[] args)
42 Trim trim =
new Trim(3);
45 Print print =
new Print();
46 Connector.connect(trim, print);
49 Pushable p = trim.getPushableInput();
50 for (
int i = 0; i < 6; i++)
static void main(String[] args)
Use the Trim processor to discard events from the beginning of a stream.