void (Object aValue, int rowIndex, int columnIndex) { if (aValue != null) { switch (columnIndex) { case 0 -> myRows.get(rowIndex).key = (String)aValue; case 1 -> myRows.get(rowIndex).value = (String)aValue; } } }