String getColumnList(boolean sort) { List cols = new ArrayList(Arrays.asList(m_columns));  if (sort) { Collections.sort(cols, new Comparator() { public int compare(Object o1, Object o2) { Column c1 = (Column) o1; Column c2 = (Column) o2; return c1.getName().compareTo(c2.getName()); } }); }  StringBuffer result = new StringBuffer("(");  for (Iterator it = cols.iterator(); it.hasNext(); ) { Column col = (Column) it.next(); result.append(col.getName()); if (it.hasNext()) { result.append(", "); } }  result.append(")");  return result.toString();
String getColumnList() { return getColumnList(false);
    String getColumnList(boolean sort) {        List cols = new ArrayList(Arrays.asList(m_columns));        if (sort) {            Collections.sort(cols, new Comparator() {                    public int compare(Object o1, Object o2) {                        Column c1 = (Column) o1;                        Column c2 = (Column) o2;                        return c1.getName().compareTo(c2.getName());                    }                });        }        StringBuffer result = new StringBuffer("(");        for (Iterator it = cols.iterator(); it.hasNext(); ) {            Column col = (Column) it.next();            result.append(col.getName());            if (it.hasNext()) {                result.append(", ");            }        }        result.append(")");        return result.toString();    }