2 * Copyright (c) 2014 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.yang.data.spi.tree;
11 * The concept of a version, either node version, or a subtree version. The
12 * only interface contract this class has is that no two versions are the
15 public final class Version {
21 * Create a new version, distinct from any other version.
23 * @return a new version.
25 @SuppressWarnings("static-method")
26 public Version next() {
31 * Create an initial version.
33 * @return a new version.
35 public static Version initial() {