Merge "Bug 1203: Reset state of LocationDispatchCodecs"
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / codec / Int16Codec.java
index d1de1853f79c1b40b5ef81a4cd9816cc0d96f2e1..310795a864efb5662d518a5a35663306671e3d59 100644 (file)
@@ -1,9 +1,18 @@
+/*
+ * 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;
 
-public interface Int16Codec<T> {
+public interface Int16Codec<T>  extends Codec<T,Short> {
+    @Override
+    T serialize(Short data);
 
-    public T serialize(Short data);
-
-    public Short deserialize(T data);
+    @Override
+    Short deserialize(T data);
 }