void (@Nullable List<? extends T> elements, S markState) { if (elements == null || elements.isEmpty()) { return; } for (final T element : elements) { myElements.add(element); myMarkedMap.put(element, notNullMarkState(element, markState)); } fireTableRowsInserted(myElements.size() - elements.size(), myElements.size() - 1); }