Bump yangtools to 1.0.0-SNAPSHOT
[yangtools.git] / common / concepts / src / main / java / org / opendaylight / yangtools / concepts / OrderedSet.java
1 /*
2  * Copyright (c) 2013 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.concepts;
9
10 import java.util.List;
11 import java.util.Set;
12
13 /**
14  * @deprecated There is no way an object can satisfy both the {@link Set} and {@link List} interface contracts, as
15  *             they contradict on hashCode() specification. See {@link Set#hashCode()} and {@link List#hashCode()}.
16  *             This class interface will be removed in a future release.
17  *
18  * @param <E> Element type
19  */
20 @Deprecated
21 public interface OrderedSet<E> extends Set<E>, List<E> {
22
23 }