Function[] functionsArray;  if (this.functions == null) { functionsArray = new Function[0]; } else { functionsArray = new Function[this.functions.size()]; Iterator functionsIterator = this.functions.iterator(); int i = 0; while (functionsIterator.hasNext()) { functionsArray[i] = (Function)(functionsIterator.next()); i++; } }  return functionsArray;
Function[] functionsArray = new Function[0];  return (Function[])(this.functions.toArray(functionsArray));
  public Function[] getFunctionsArray()  {    Function[] functionsArray;        if (this.functions == null)    {      functionsArray = new Function[0];    }    else    {      functionsArray = new Function[this.functions.size()];      Iterator functionsIterator = this.functions.iterator();      int i = 0;      while (functionsIterator.hasNext())      {        functionsArray[i] = (Function)(functionsIterator.next());        i++;      }    }        return functionsArray;  }