Do not pretty-print body class
[yangtools.git] / data / yang-data-impl / src / main / java / org / opendaylight / yangtools / yang / data / impl / schema / nodes / CloneableMap.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.yangtools.yang.data.impl.schema.nodes;
9
10 import com.google.common.annotations.Beta;
11 import java.util.Map;
12
13 @Beta
14 public interface CloneableMap<K, V> extends Map<K, V> {
15     /**
16      * Create a clone of this map's contents. This does not include the actual
17      * keys and values, just the internal map state.
18      *
19      * @return An isolated, writable map.
20      */
21     Map<K, V> createMutableClone();
22 }