Ejemplo n.º 1
0
  public boolean init(StepMetaInterface smi, StepDataInterface sdi) {
    meta = (FormulaMeta) smi;
    data = (FormulaData) sdi;

    if (super.init(smi, sdi)) {
      // Add init code here.

      // Return data type discovery is expensive, let's discover them one time only.
      //
      data.returnType = new int[meta.getFormula().length];
      for (int i = 0; i < meta.getFormula().length; i++) {
        data.returnType[i] = -1;
      }
      return true;
    }
    return false;
  }