public void addAdjustedSelection( final Object element, Condition isExpired, @Nullable Object adjustmentCause) { myAdjustedSelection.put(element, isExpired); if (adjustmentCause != null) { myAdjustmentCause2Adjustment.put(adjustmentCause, element); } }
public void addAll(@NotNull UpdaterTreeState state) { myToExpand.putAll(state.myToExpand); Object[] toSelect = state.getToSelect(); for (Object each : toSelect) { if (!myAdjustedSelection.containsKey(each)) { myToSelect.put(each, each); } } myCanRunRestore = state.myCanRunRestore; }
public void addSelection(final Object element) { myToSelect.put(element, element); }