Populate data/ hierarchy
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / UserMapNode.java
diff --git a/yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/UserMapNode.java b/yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/UserMapNode.java
deleted file mode 100644 (file)
index 2cf620d..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * 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.api.schema;
-
-import java.util.Map;
-import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates;
-
-/**
- * {@link MapNode} which additionally preserves user-supplied ordering. This node represents a data instance of
- * a {@code list} with {@code ordered-by user;} substatement and a {@code key} definition.
- */
-public interface UserMapNode extends MapNode, OrderedNodeContainer<MapEntryNode> {
-    @Override
-    default Class<UserMapNode> contract() {
-        return UserMapNode.class;
-    }
-
-    /**
-     * {@inheritDoc}
-     *
-     * <p>
-     * The implementation is required to define a user-visible iteration order, which must match {@link #childAt(int)}.
-     */
-    @Override
-    Map<NodeIdentifierWithPredicates, MapEntryNode> asMap();
-}