package org.opendaylight.yangtools.yang.data.api.schema.tree.spi;
import java.util.Map;
-import java.util.Optional;
import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
final class MaterializedMutableContainerNode extends AbstractMutableContainerNode {
}
@Override
- public Optional<TreeNode> getChild(final PathArgument child) {
- return Optional.ofNullable(getModifiedChild(child));
+ public TreeNode childByArg(final PathArgument arg) {
+ return getModifiedChild(arg);
}
}