private void persist(Cursor cur) throws IOException, SQLException { Object[] mr = this.modifiedRow; if (table.getDatabase().getColumnOrder().equals(ColumnOrder.DISPLAY)) { Object[] newRowReorded = new Object[this.modifiedRow.length]; int j = 0; for (Column cli : table.getColumns()) { newRowReorded[cli.getColumnIndex()] = this.modifiedRow[j]; j++; } mr = newRowReorded; } cur.updateCurrentRow(mr); }
int j = 0; List<? extends Column> lc = table.getColumns(); if (table.getDatabase().getColumnOrder().equals(ColumnOrder.DISPLAY)) { Object[] newRowReorded = new Object[newRow.length]; Column[] cllReorded = new Column[newRow.length];