for (int i = 0; i < data.size(); i++) { String[] row = (String[]) data.get(i);
for (int i = 0; i < _data.size(); i++) { String[] row = (String[]) _data.get(i);
        public synchronized String[][] getParameters() {            int rows = 0;            for (int i = 0; i < data.size(); i++) {                String[] row = (String[]) data.get(i);                if (!row[0].equals("") && !row[1].equals("")) {                    rows++;                }            }            String[][] params = new String[rows][3];            rows = 0;            for (int i = 0; i < data.size(); i++) {                String[] row = (String[]) data.get(i);                if (!row[0].equals("") && !row[1].equals("")) {                    params[rows][0] = row[0];                    params[rows][1] = row[1];                    params[rows][2] = row[2];                    rows++;                }            }            return params;        }