Code Examples
A repository of 155 code examples for BeepBeep
CustomFunctionTree.java
1 package functions.custom;
2 
3 import ca.uqac.lif.cep.functions.FunctionTree;
4 import ca.uqac.lif.cep.functions.StreamVariable;
5 import ca.uqac.lif.cep.util.Numbers;
6 
7 ///
8 public class CustomFunctionTree extends FunctionTree
9 {
10  public CustomFunctionTree()
11  {
12  super(Numbers.multiplication,
13  new FunctionTree(Numbers.addition,
14  StreamVariable.X, StreamVariable.Y),
15  StreamVariable.Z);
16  }
17 }
18 ///