package org.opendaylight.yangtools.yang.data.impl.schema.nodes;
import com.google.common.annotations.Beta;
-import java.util.Map;
import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
import org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild;
* Interface implemented by maps which allow efficient duplication. This interface IS NOT part of the
* general API contract and is <strong>an internal implementation detail</strong>. It is subject to
* change and/or removal at any time.
+ *
+ * @deprecated Deprecated during Beryllium release cycle, scheduled for removal.
*/
@Beta
-public abstract class CloneableChildrenMap implements Map<PathArgument, DataContainerChild<? extends PathArgument, ?>> {
+@Deprecated
+public abstract class CloneableChildrenMap implements CloneableMap<PathArgument, DataContainerChild<? extends PathArgument, ?>> {
CloneableChildrenMap() {
// Hidden to prevent outside instantiation
}
-
- /**
- * Create a clone of this map's contents. This does not include the actual
- * keys and values, just the internal map state.
- *
- * @return An isolated, writable map.
- */
- public abstract Map<PathArgument, DataContainerChild<? extends PathArgument, ?>> createMutableClone();
}