2 * Copyright (c) 2015 Pantheon Technologies s.r.o. 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.common;
10 import com.google.common.annotations.Beta;
11 import java.io.Serializable;
12 import org.opendaylight.yangtools.concepts.Immutable;
15 * Dedicated singleton type for YANG's 'type empty' value.
17 * @author Robert Varga
20 public final class Empty implements Immutable, Serializable {
21 private static final long serialVersionUID = 1L;
22 private static final Empty INSTANCE = new Empty();
28 public static Empty getInstance() {
33 public String toString() {
37 @SuppressWarnings("static-method")
38 private Object readResolve() {