2 * Copyright (c) 2017 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.model.api.type;
11 * Type definition derived from int8 type.
13 * @author Robert Varga
15 public interface Int8TypeDefinition extends RangeRestrictedTypeDefinition<Int8TypeDefinition, Byte> {
17 static int hashCode(final Int8TypeDefinition type) {
18 return TypeDefinitions.hashCode(type);
21 static boolean equals(final Int8TypeDefinition type, final Object obj) {
22 return TypeDefinitions.equals(Int8TypeDefinition.class, type, obj);
25 static String toString(final Int8TypeDefinition type) {
26 return TypeDefinitions.toString(type);