opStrings [TASKSETUPTIME] = "tasksetuptime"; numArgs [TASKSETUPTIME] = 1; opsScheduleDependent [TASKSETUPTIME] = true; opStrings [TASKWRAPUPTIME] = "taskwrapuptime"; numArgs [TASKWRAPUPTIME] = 1; opsScheduleDependent [TASKWRAPUPTIME] = true;
  private static void initOpStrings() {    if (! opStringsInitialized) {      opStringsInitialized = true;      opStrings = new String [NUM_OPS];      xmlStrings = new String [NUM_OPS];      numArgs = new int [NUM_OPS];      opsScheduleDependent = new boolean [NUM_OPS];      opStrings [EQ] = "=";      numArgs [EQ] = 2;      opsScheduleDependent [EQ] = false;      opStrings [NE] = "!=";      numArgs [NE] = 2;      opsScheduleDependent [NE] = false;      opStrings [LT] = "<";      numArgs [LT] = 2;      opsScheduleDependent [LT] = false;      opStrings [GT] = ">";      numArgs [GT] = 2;      opsScheduleDependent [GT] = false;      opStrings [LE] = "<=";      numArgs [LE] = 2;      opsScheduleDependent [LE] = false;      opStrings [GE] = ">=";      numArgs [GE] = 2;      opsScheduleDependent [GE] = false;      opStrings [AND] = "and";      numArgs [AND] = -1;      opsScheduleDependent [AND] = false;      opStrings [OR] = "or";      numArgs [OR] = -1;      opsScheduleDependent [OR] = false;      opStrings [NOT] = "not";      numArgs [NOT] = 1;      opsScheduleDependent [NOT] = false;      opStrings [PLUS] = "+";      numArgs [PLUS] = 2;      opsScheduleDependent [PLUS] = false;      opStrings [MINUS] = "-";      numArgs [MINUS] = 2;      opsScheduleDependent [MINUS] = false;      opStrings [TIMES] = "*";      numArgs [TIMES] = 2;      opsScheduleDependent [TIMES] = false;      opStrings [DIVIDE] = "/";      numArgs [DIVIDE] = 2;      opsScheduleDependent [DIVIDE] = false;      opStrings [IF] = "if";      numArgs [IF] = -1;      opsScheduleDependent [IF] = false;      opStrings [MAX] = "max";      numArgs [MAX] = -1;      opsScheduleDependent [MAX] = false;      opStrings [MIN] = "min";      numArgs [MIN] = -1;      opsScheduleDependent [MIN] = false;      opStrings [SUMOVER] = "sumover";      numArgs [SUMOVER] = 3;      opsScheduleDependent [SUMOVER] = false;      opStrings [MAXOVER] = "maxover";      numArgs [MAXOVER] = 3;      opsScheduleDependent [MAXOVER] = false;      opStrings [MINOVER] = "minover";      numArgs [MINOVER] = 3;      opsScheduleDependent [MINOVER] = false;      opStrings [MAPOVER] = "mapover";      numArgs [MAPOVER] = 3;      opsScheduleDependent [MAPOVER] = false;      opStrings [LIST] = "list";      numArgs [LIST] = -1;      opsScheduleDependent [LIST] = false;      opStrings [FIND] = "find";      numArgs [FIND] = 3;      opsScheduleDependent [FIND] = false;      opStrings [APPEND] = "append";      numArgs [APPEND] = 2;      opsScheduleDependent [APPEND] = false;      opStrings [DIST] = "dist";      numArgs [DIST] = 2;      opsScheduleDependent [DIST] = false;      opStrings [LATLONG_OP] = "latlong";      numArgs [LATLONG_OP] = 2;      opsScheduleDependent [LATLONG_OP] = false;      opStrings [XY_COORD_OP] = "xy_coord";      numArgs [XY_COORD_OP] = 2;      opsScheduleDependent [XY_COORD_OP] = false;      opStrings [INTERVAL_OP] = "interval";      numArgs [INTERVAL_OP] = -1;      opsScheduleDependent [INTERVAL_OP] = false;      opStrings [GET] = "get";      numArgs [GET] = 3;      opsScheduleDependent [GET] = false;      opStrings [STRING] = "string";      numArgs [STRING] = 1;      opsScheduleDependent [STRING] = false;      opStrings [GLOBALGET] = "globget";      numArgs [GLOBALGET] = 3;      opsScheduleDependent [GLOBALGET] = false;      opStrings [ENTRY] = "entry";      numArgs [ENTRY] = 2;      opsScheduleDependent [ENTRY] = false;      opStrings [MATENTRY] = "matentry";      numArgs [MATENTRY] = 3;      opsScheduleDependent [MATENTRY] = false;      opStrings [BUSYTIME] = "busytime";      numArgs [BUSYTIME] = 3;      opsScheduleDependent [BUSYTIME] = true;      opStrings [MOD] = "mod";      numArgs [MOD] = 2;      opsScheduleDependent [MOD] = false;      opStrings [ABS] = "abs";      numArgs [ABS] = 1;      opsScheduleDependent [ABS] = false;      opStrings [HASVALUE] = "hasvalue";      numArgs [HASVALUE] = 1;      opsScheduleDependent [HASVALUE] = false;      opStrings [PREPTIME] = "preptime";      numArgs [PREPTIME] = 1;      opsScheduleDependent [PREPTIME] = true;      opStrings [COMPLETE] = "complete";      numArgs [COMPLETE] = 1;      opsScheduleDependent [COMPLETE] = true;      opStrings [TASKSTARTTIME] = "taskstarttime";      numArgs [TASKSTARTTIME] = 1;      opsScheduleDependent [TASKSTARTTIME] = true;      opStrings [TASKENDTIME] = "taskendtime";      numArgs [TASKENDTIME] = 1;      opsScheduleDependent [TASKENDTIME] = true;      opStrings [RESOURCEFOR] = "resourcefor";      numArgs [RESOURCEFOR] = 1;      opsScheduleDependent [RESOURCEFOR] = true;      opStrings [TASKSFOR] = "tasksfor";      numArgs [TASKSFOR] = 1;      opsScheduleDependent [TASKSFOR] = true;      opStrings [GROUPFOR] = "groupfor";      numArgs [GROUPFOR] = 1;      opsScheduleDependent [GROUPFOR] = true;      opStrings [PREVIOUSDELTA] = "previousdelta";      numArgs [PREVIOUSDELTA] = 1;      opsScheduleDependent [PREVIOUSDELTA] = true;      opStrings [ANDOVER] = "andover";      numArgs [ANDOVER] = 3;      opsScheduleDependent [ANDOVER] = false;      opStrings [OROVER] = "orover";      numArgs [OROVER] = 3;      opsScheduleDependent [OROVER] = false;      opStrings [LOOP] = "loop";      numArgs [LOOP] = 3;      opsScheduleDependent [LOOP] = false;      opStrings [LENGTH] = "length";      numArgs [LENGTH] = 1;      opsScheduleDependent [LENGTH] = false;      opStrings [POSITION] = "position";      numArgs [POSITION] = 2;      opsScheduleDependent [POSITION] = false;      System.arraycopy (opStrings, 0, xmlStrings, 0, opStrings.length);      xmlStrings [LT] = "&lt;";      xmlStrings [LE] = "&lt;=";      xmlStrings [GT] = "&gt;";      xmlStrings [GE] = "&gt;=";    }  }