package org.opendaylight.controller.md.sal.dom.store.impl;
import com.google.common.annotations.Beta;
package org.opendaylight.controller.md.sal.dom.store.impl;
import com.google.common.annotations.Beta;
import com.google.common.base.Preconditions;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Multimap;
import java.util.Collection;
import java.util.Map.Entry;
import com.google.common.base.Preconditions;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Multimap;
import java.util.Collection;
import java.util.Map.Entry;
import org.opendaylight.controller.md.sal.dom.store.impl.DOMImmutableDataChangeEvent.Builder;
import org.opendaylight.controller.md.sal.dom.store.impl.DOMImmutableDataChangeEvent.SimpleEventFactory;
import org.opendaylight.controller.md.sal.dom.store.impl.tree.ListenerTree;
import org.opendaylight.controller.md.sal.dom.store.impl.DOMImmutableDataChangeEvent.Builder;
import org.opendaylight.controller.md.sal.dom.store.impl.DOMImmutableDataChangeEvent.SimpleEventFactory;
import org.opendaylight.controller.md.sal.dom.store.impl.tree.ListenerTree;
import org.opendaylight.yangtools.util.concurrent.NotificationManager;
import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
import org.opendaylight.yangtools.util.concurrent.NotificationManager;
import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
case WRITE:
Preconditions.checkArgument(maybeAfter.isPresent(),
"Modification at {} has type {} but no after-data", state.getPath(), type);
case WRITE:
Preconditions.checkArgument(maybeAfter.isPresent(),
"Modification at {} has type {} but no after-data", state.getPath(), type);
case DELETE:
Preconditions.checkArgument(maybeBefore.isPresent(),
"Modification at {} has type {} but no before-data", state.getPath(), type);
case DELETE:
Preconditions.checkArgument(maybeBefore.isPresent(),
"Modification at {} has type {} but no before-data", state.getPath(), type);
final ResolveDataChangeState childState = state.child(childMod.getIdentifier());
switch (childMod.getModificationType()) {
final ResolveDataChangeState childState = state.child(childMod.getIdentifier());
switch (childMod.getModificationType()) {
if (resolveAnyChangeEvent(childState, childMod)) {
scope = DataChangeScope.ONE;
}
if (resolveAnyChangeEvent(childState, childMod)) {
scope = DataChangeScope.ONE;
}