int i; for(i = 0;i < m_orderBy.size()-1;i++){ text.append((String)m_orderBy.elementAt(i));
for (int i = 0; i < m_orderBy.size(); i++) { if (i > 0)
  public String[] getOptions() {          String[] options = new String[10];    int current = 0;    options[current] = "-Q"; options[current++] = getQuery();    StringBuffer text = new StringBuffer();    int i;    for(i = 0;i < m_orderBy.size()-1;i++){        text.append((String)m_orderBy.elementAt(i));        text.append(", ");    }    if(i == m_orderBy.size()-1){        text.append((String)m_orderBy.elementAt(i));        options[current] = "-P"; options[current++] = text.toString();    }    if (m_inc) {      options[current++] = "-I";    }    while (current < options.length) {      options[current++] = "";    }        return  options;  }