- public Optional<DataContainerChild<? extends InstanceIdentifier.PathArgument, ?>> getChild(InstanceIdentifier.PathArgument child) {
- return Optional.<DataContainerChild<? extends InstanceIdentifier.PathArgument, ?>>fromNullable(children.get(child));
+ protected int valueHashCode() {
+ return children.hashCode();
+ }
+
+ /**
+ * DO NOT USE THIS METHOD.
+ *
+ * <p>
+ * This is an implementation-internal API and no outside users should use it. If you do, you are asking for trouble,
+ * as the returned object is not guaranteed to conform to java.util.Map interface, nor is its contents well-defined.
+ *
+ * @return An unmodifiable view if this node's children.
+ */
+ public final Map<PathArgument, Object> getChildren() {
+ return children;