2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.yangtools.concepts;
10 import java.util.List;
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.
18 * @param <E> Element type
21 public interface OrderedSet<E> extends Set<E>, List<E> {