@Override public int getColumnIndex(String colKey) { if (this.records.size() > 0) { Record rec = this.records.get(0); int idx; try { idx = rec.index(colKey); } catch (NoSuchElementException e) { idx = -1; } return idx; } return -1; }
@Override public int getColumnIndex(String colKey) { if (this.records.size() > 0) { Record rec = this.records.get(0); int idx; try { idx = rec.index(colKey); } catch (NoSuchElementException e) { idx = -1; } return idx; } return -1; }