* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.yangtools.yang.data.impl.schema.tree;
+package org.opendaylight.yangtools.yang.data.tree.impl;
import static java.util.Objects.requireNonNull;
/**
* Read-only snapshot of the data tree.
*/
-final class InMemoryDataTree extends AbstractDataTreeTip implements DataTree {
+public final class InMemoryDataTree extends AbstractDataTreeTip implements DataTree {
private static final VarHandle STATE;
static {
@SuppressWarnings("unused")
private volatile DataTreeState state;
- InMemoryDataTree(final TreeNode rootNode, final DataTreeConfiguration treeConfig,
+ public InMemoryDataTree(final TreeNode rootNode, final DataTreeConfiguration treeConfig,
final EffectiveModelContext schemaContext) {
this.treeConfig = requireNonNull(treeConfig, "treeConfig");
maskMandatory = true;
}
}
- InMemoryDataTree(final TreeNode rootNode, final DataTreeConfiguration treeConfig,
+ public InMemoryDataTree(final TreeNode rootNode, final DataTreeConfiguration treeConfig,
final EffectiveModelContext schemaContext, final DataSchemaNode rootSchemaNode,
final boolean maskMandatory) {
this.treeConfig = requireNonNull(treeConfig, "treeConfig");