Switch encoding unsigned type normalization to Uint* types
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / codec / Int16Codec.java
index b4c2ca8796a1f86d6076852a4de67db862ebcbec..7bd24d0322fd1d273c97ecaf2e362d920900b4a2 100644 (file)
@@ -1,11 +1,14 @@
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
 package org.opendaylight.yangtools.yang.data.api.codec;
 
-import org.opendaylight.yangtools.concepts.Codec;
+import org.opendaylight.yangtools.concepts.IllegalArgumentCodec;
 
+public interface Int16Codec<T> extends IllegalArgumentCodec<T, Short> {
 
-public interface Int16Codec<T>  extends Codec<T,Short>{
-
-    public T serialize(Short data);
-
-    public Short deserialize(T data);
 }