1 package functions.custom;
5 import ca.uqac.lif.cep.Context;
6 import ca.uqac.lif.cep.EventTracker;
7 import ca.uqac.lif.cep.functions.Function;
11 public void evaluate(Object[] inputs, Object[] outputs, Context c, EventTracker t) {
12 outputs[0] = ((String) inputs[0]).substring(0,
16 public int getInputArity() {
20 public int getOutputArity() {
24 public Function duplicate(
boolean with_state) {
28 public void getInputTypesFor(Set<Class<?>> s,
int i) {
35 public Class<?> getOutputTypeFor(
int i) {