20 import ca.uqac.lif.cep.Connector;
21 import ca.uqac.lif.cep.Pushable;
22 import ca.uqac.lif.cep.functions.ApplyFunctionPartial;
23 import ca.uqac.lif.cep.io.Print;
24 import ca.uqac.lif.cep.util.Numbers;
28 public static void main(String[] args)
31 ApplyFunctionPartial af =
32 new ApplyFunctionPartial(Numbers.multiplication);
33 Print print =
new Print();
34 Connector.connect(af, print);
35 Pushable p1 = af.getPushableInput(0);
36 Pushable p2 = af.getPushableInput(1);